Roo/htmleditor/FilterEmpty.js
authorleon <leon@roojs.com>
Mon, 26 Feb 2024 09:02:43 +0000 (17:02 +0800)
committerleon <leon@roojs.com>
Mon, 26 Feb 2024 09:02:43 +0000 (17:02 +0800)
Roo/htmleditor/FilterEmpty.js

index 3237882..c80c912 100644 (file)
@@ -21,8 +21,8 @@ Roo.extend(Roo.htmleditor.FilterEmpty, Roo.htmleditor.FilterBlack,
     replaceTag : function(node)
     {
         Roo.log(node);
-        var ar = Array.from(node.childNodes);
         this.walk(node);
+        Roo.log(node.tagName);
         if(!['B', 'I', 'U', 'S'].includes(node.tagName)) {
             return false;
         }