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

index f25bb0b..b3be29b 100644 (file)
@@ -400,26 +400,19 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
 
         // caption display is stored in figure
         this.caption_display = this.getVal(node, true, 'data-caption-display');
-        Roo.log('CAPTION DISPLAY');
-        Roo.log(node);
-        Roo.log(this.caption_display);
 
         // backward compatible
         // it was stored in figcaption
         if(this.caption_display == '') {
             this.caption_display = this.getVal(node, 'figcaption', 'data-display');
         }
-        Roo.log(this.caption_display);
 
         // read caption from figcaption
         var figcaption = this.getVal(node, 'figcaption', false);
-        Roo.log('CAPTION');
 
         if (figcaption !== '') {
             this.caption = this.getVal(figcaption, 'i', 'html');
-            Roo.log('FIGCAPTION');
         }
-        Roo.log(this.caption);
                 
 
         // read caption from data-caption in figure if no caption from figcaption