From: leon Date: Wed, 1 Mar 2023 04:34:01 +0000 (+0800) Subject: Roo/htmleditor/BlockFigure.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=81aad09c6ef21daefda0a7364d35c2f55ec975f1;hp=7114e65066ef8946fe980d7563558d8b33a7576b;p=roojs1 Roo/htmleditor/BlockFigure.js --- diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 2d8a6e9dc8..2b73405db4 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, true, 'data-caption'); if (dc && dc.length) { this.caption = dc; }