Roo/htmleditor/BlockFigure.js
authorleon <leon@roojs.com>
Mon, 28 Aug 2023 02:57:08 +0000 (10:57 +0800)
committerleon <leon@roojs.com>
Mon, 28 Aug 2023 02:57:08 +0000 (10:57 +0800)
Roo/htmleditor/BlockFigure.js

index d639073..cb9f64d 100644 (file)
@@ -398,8 +398,8 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
          
         this.align = this.getVal(node, 'figure', 'align');
 
-        // data-display is stored in figure
-        this.caption_display = this.getVal(node, true, 'data-display');
+        // caption display is stored in figure
+        this.caption_display = this.getVal(node, true, 'data-caption-display');
         Roo.log('CAPTION DISPLAY');
         Roo.log(this.caption_display);