From: leon Date: Wed, 1 Mar 2023 04:28:33 +0000 (+0800) Subject: Roo/htmleditor/BlockFigure.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=b2c89255c86e03dad55dfd0d8ee5d60a6a15bd3d Roo/htmleditor/BlockFigure.js --- 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; }