From 679b7dab75557dd5ccceb9b0dc8dbef5700f9bcc Mon Sep 17 00:00:00 2001 From: leon Date: Wed, 1 Mar 2023 12:27:14 +0800 Subject: [PATCH] Roo/htmleditor/BlockFigure.js --- Roo/htmleditor/BlockFigure.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 2d8a6e9dc8..b3fab7b9a4 100644 --- a/Roo/htmleditor/BlockFigure.js +++ b/Roo/htmleditor/BlockFigure.js @@ -405,7 +405,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { this.caption_display = this.getVal(node, 'figcaption', 'data-display'); - var dc = this.getVal(node, 'figcaption', 'data-caption'); + var dc = this.getVal(node, 'figure', 'data-caption'); if (dc && dc.length) { this.caption = dc; } -- 2.39.2