From a10bb9e00b52284dbebfa6db54c1f44500c210bd Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 16 Mar 2022 14:13:41 +0800 Subject: [PATCH] Roo/htmleditor/BlockFigure.js --- Roo/htmleditor/BlockFigure.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } -- 2.39.2