Roo/htmleditor/BlockFigure.js
authorAlan <alan@roojs.com>
Thu, 30 Sep 2021 01:16:28 +0000 (09:16 +0800)
committerAlan <alan@roojs.com>
Thu, 30 Sep 2021 01:16:28 +0000 (09:16 +0800)
Roo/htmleditor/BlockFigure.js

index 8b378b6..ac13ccc 100644 (file)
@@ -130,6 +130,9 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
         this.align = this.getVal(node, 'figure', 'style', 'float');
         this.caption = this.getVal(node, 'figcaption', 'html');
         this.text_align = this.getVal(node, 'figcaption', 'style','text-align');
+        this.image_width = this.getVal(node, 'img', 'width');
+        this.image_height = this.getVal(node, 'img', 'height');
+        
     }