From b2c89255c86e03dad55dfd0d8ee5d60a6a15bd3d Mon Sep 17 00:00:00 2001 From: leon Date: Wed, 1 Mar 2023 12:28:33 +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 b3fab7b9a4..2d8a6e9dc8 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, 'figure', 'data-caption'); + var dc = this.getVal(node, 'figcaption', 'data-caption'); if (dc && dc.length) { this.caption = dc; } -- 2.39.2