Roo/htmleditor/BlockFigure.js
authorleon <leon@roojs.com>
Mon, 25 Sep 2023 03:57:29 +0000 (11:57 +0800)
committerleon <leon@roojs.com>
Mon, 25 Sep 2023 03:57:29 +0000 (11:57 +0800)
Roo/htmleditor/BlockFigure.js

index e238d54..dc9443f 100644 (file)
@@ -369,7 +369,6 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
             'data-width' : this.width,
             'data-caption' : this.caption, 
             'data-caption-display' : this.caption_display,
-            'data-caption-align' : this.caption_align,
             contenteditable : 'false',
             
             style : {
@@ -450,8 +449,6 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
             this.caption_display = this.getVal(node, 'figcaption', 'data-display');
         }
 
-        this.caption_align = this.getVal(node, true, 'data-caption-align');
-
         // read caption from figcaption
         var figcaption = this.getVal(node, 'figcaption', false);