projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7800d9b
)
Roo/htmleditor/Filter.js
author
leon
<leon@roojs.com>
Mon, 20 Nov 2023 05:37:28 +0000
(13:37 +0800)
committer
leon
<leon@roojs.com>
Mon, 20 Nov 2023 05:37:28 +0000
(13:37 +0800)
Roo/htmleditor/Filter.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/Filter.js
b/Roo/htmleditor/Filter.js
index
73f7a3f
..
9180ff4
100644
(file)
--- a/
Roo/htmleditor/Filter.js
+++ b/
Roo/htmleditor/Filter.js
@@
-85,12
+85,10
@@
Roo.htmleditor.Filter.prototype = {
return;
}
- Roo.each( Array.from(dom.getElementsByTagName(this.tag)), function( e ) {
- }, this);
- for(var i = 0; i < elements.length; i++) {
+ Roo.each( Array.from(dom.getElementsByTagName(this.tag)), function(e) {
if(this.replaceTag) {
- this.replaceTag(e
lements[i]
);
+ this.replaceTag(e);
}
- }
+ }
, this);
}
};
\ No newline at end of file