From 01574ac4ee71bbddde9ac06959761f4d7f79a593 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 15 Mar 2022 15:13:39 +0800 Subject: [PATCH] Roo/htmleditor/BlockFigure.js --- Roo/htmleditor/BlockFigure.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Roo/htmleditor/BlockFigure.js b/Roo/htmleditor/BlockFigure.js index 901d69abcd..73b336ca00 100644 --- a/Roo/htmleditor/BlockFigure.js +++ b/Roo/htmleditor/BlockFigure.js @@ -315,7 +315,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { var captionhtml = this.caption_display == 'none' ? '' : (this.caption.length ? this.caption : "Caption"); - return { + var ret = { tag: 'figure', 'data-block' : 'Figure', @@ -376,6 +376,7 @@ Roo.extend(Roo.htmleditor.BlockFigure, Roo.htmleditor.Block, { } ] }; + return ret; }, -- 2.39.2