Roo/htmleditor/Filter.js
authorleon <leon@roojs.com>
Mon, 20 Nov 2023 05:33:20 +0000 (13:33 +0800)
committerleon <leon@roojs.com>
Mon, 20 Nov 2023 05:33:20 +0000 (13:33 +0800)
Roo/htmleditor/Filter.js

index df2b242..5c83a7b 100644 (file)
@@ -86,10 +86,10 @@ Roo.htmleditor.Filter.prototype = {
         }
 
         var elements = dom.getElementsByTagName(this.tag);
-        Roo.each(Array.from(elements), function(e) {
+        for(var el of elements) {
             if(this.replaceTag) {
-                this.replaceTag(e);
+                this.replaceTag(el);
             }
-        }, this);
+        }
     }
 };
\ No newline at end of file