Roo/htmleditor/BlockFigure.js
authorleon <leon@roojs.com>
Mon, 28 Aug 2023 03:56:11 +0000 (11:56 +0800)
committerleon <leon@roojs.com>
Mon, 28 Aug 2023 03:56:11 +0000 (11:56 +0800)
Roo/htmleditor/BlockFigure.js

index a29256a..2a97477 100644 (file)
@@ -315,10 +315,6 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
                 ]
             };
         }
-        // we remove caption totally if its hidden... - will delete data.. but otherwise we end up with fake caption
-        var captionhtml = this.caption_display == 'none' ? '' : (this.caption.length ? this.caption : "Caption");
-        
-        
   
         var ret =   {
             tag: 'figure',