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

index 9dd9a11..5f10c1c 100644 (file)
@@ -1320,7 +1320,7 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
     {
         console.log("HtmlEditorCore cleanWord");
         new Roo.htmleditor.FilterWord({ node : node ? node : this.doc.body });
-        new Roo.htmleditor.FilterKeepChildren({node : d, tag : [ 'FONT', ':' ]} );
+        new Roo.htmleditor.FilterKeepChildren({node : node ? node : this.doc.body, tag : [ 'FONT', ':' ]} );
         
     },