Roo/htmleditor/BlockFigure.js
authorAlan <alan@roojs.com>
Tue, 15 Mar 2022 07:13:39 +0000 (15:13 +0800)
committerAlan <alan@roojs.com>
Tue, 15 Mar 2022 07:13:39 +0000 (15:13 +0800)
Roo/htmleditor/BlockFigure.js

index 901d69a..73b336c 100644 (file)
@@ -315,7 +315,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
         var captionhtml = this.caption_display == 'none' ? '' : (this.caption.length ? this.caption : "Caption");
         
   
-        return  {
+        var ret =   {
             tag: 'figure',
             'data-block' : 'Figure',
             
@@ -376,6 +376,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                 }
             ]
         };
+        return ret;
          
     },