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

index bb08604..62682d6 100644 (file)
@@ -345,6 +345,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, {
             ]
         };
 
+        // show figcaption only if caption_display is 'block'
         if(this.caption_display == 'block') {
             ret['cn'].push({
                 tag: 'figcaption',