Roo/HtmlEditorCore.js
authorleon <leon@roojs.com>
Tue, 3 May 2022 03:22:27 +0000 (11:22 +0800)
committerleon <leon@roojs.com>
Tue, 3 May 2022 03:22:27 +0000 (11:22 +0800)
Roo/HtmlEditorCore.js

index 1780033..4901ff5 100644 (file)
@@ -629,7 +629,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
             });
             new Roo.htmleditor.FilterBlack({ node : d, tag : this.black});
             // should be fonts..
-            new Roo.htmleditor.FilterKeepChildren({node : d, tag : [ 'FONT', 'O:P' ]} );
+            new Roo.htmleditor.FilterKeepChildren({node : d, tag : [ 'FONT', ':' ]} );
             new Roo.htmleditor.FilterParagraph({ node : d });
             new Roo.htmleditor.FilterSpan({ node : d });
             new Roo.htmleditor.FilterLongBr({ node : d });