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

index c30d1ef..0d05a2e 100644 (file)
@@ -420,7 +420,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
         }
                 
 
-        // read caption from data-caption in figure if empty figcaption
+        // read caption from data-caption in figure if no caption from figcaption
         var dc = this.getVal(node, true, 'data-caption');
         // if (this.caption_display == 'none' && figcaption != '' && dc && dc.length) {
         if(this.caption == '' && dc && dc.length){