Roo/HtmlEditorCore.js
authorAlan <alan@roojs.com>
Tue, 15 Mar 2022 07:28:14 +0000 (15:28 +0800)
committerAlan <alan@roojs.com>
Tue, 15 Mar 2022 07:28:14 +0000 (15:28 +0800)
Roo/HtmlEditorCore.js

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