Roo/htmleditor/Filter.js
authorleon <leon@roojs.com>
Thu, 30 Nov 2023 03:51:15 +0000 (11:51 +0800)
committerleon <leon@roojs.com>
Thu, 30 Nov 2023 03:51:15 +0000 (11:51 +0800)
Roo/htmleditor/Filter.js

index 9c9b3a9..4603568 100644 (file)
@@ -87,22 +87,6 @@ Roo.htmleditor.Filter.prototype = {
 
         var els = dom.getElementsByTagName(this.tag);
 
-        /*
-        var l = els.length;
-
-        for(var i = 0 ; i < els.length; i++) {
-            if(this.replaceTag) {
-                this.replaceTag(els[i]);
-            }
-
-            // a node is removed
-            if(l != els.length) {
-                l = els.length;
-                i --;
-            }
-        }
-        */
-
         Roo.each(Array.from(els), function(e){
             if(this.replaceTag) {
                 this.replaceTag(e);