Roo/HtmlEditorCore.js
authorleon <leon@roojs.com>
Mon, 28 Aug 2023 07:24:03 +0000 (15:24 +0800)
committerleon <leon@roojs.com>
Mon, 28 Aug 2023 07:24:03 +0000 (15:24 +0800)
Roo/HtmlEditorCore.js

index 7df04b4..d1ee11c 100644 (file)
@@ -693,7 +693,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             new Roo.htmleditor.FilterStyleToTag({ node : d });
             new Roo.htmleditor.FilterAttributes({
                 node : d,
-                attrib_white : ['href', 'src', 'name', 'align', 'colspan', 'rowspan', 'data-display', 'data-width', 'start'],
+                attrib_white : ['href', 'src', 'name', 'align', 'colspan', 'rowspan', 'data-display', 'data-caption-display', 'data-width', 'start'],
                 attrib_clean : ['href', 'src' ] 
             });
             new Roo.htmleditor.FilterBlack({ node : d, tag : this.black});