From: Alan Date: Wed, 16 Mar 2022 06:13:41 +0000 (+0800) Subject: Roo/htmleditor/BlockFigure.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=a10bb9e00b52284dbebfa6db54c1f44500c210bd Roo/htmleditor/BlockFigure.js --- diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 814a7fe6f9..6c5028290d 100644 --- a/Roo/htmleditor/BlockFigure.js +++ b/Roo/htmleditor/BlockFigure.js @@ -395,7 +395,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { this.align = this.getVal(node, 'figure', 'align'); var figcaption = this.getVal(node, 'figcaption', false); - if (figcaption !== false) { + if (figcaption !== '') { this.caption = this.getVal(figcaption, 'i', 'html'); }