examples/test.js
authorleon <leon@roojs.com>
Mon, 26 Feb 2024 06:47:51 +0000 (14:47 +0800)
committerleon <leon@roojs.com>
Mon, 26 Feb 2024 06:47:51 +0000 (14:47 +0800)
examples/test.js

index 70bed8e..32d9217 100644 (file)
@@ -1,6 +1,4 @@
 Roo.onReady(function() {
-    var d = document.body;
-    new Roo.htmleditor.FilterStyleToTag({ node : d});
-    document.body = d;
+    new Roo.htmleditor.FilterStyleToTag({ node : document.body});
     // new Roo.htmleditor.FilterSpan({ node : document.body });
 });
\ No newline at end of file