projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a65343d
)
Roo/htmleditor/FilterEmpty.js
author
leon
<leon@roojs.com>
Mon, 26 Feb 2024 09:01:46 +0000
(17:01 +0800)
committer
leon
<leon@roojs.com>
Mon, 26 Feb 2024 09:01:46 +0000
(17:01 +0800)
Roo/htmleditor/FilterEmpty.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/FilterEmpty.js
b/Roo/htmleditor/FilterEmpty.js
index
974da6f
..
3237882
100644
(file)
--- a/
Roo/htmleditor/FilterEmpty.js
+++ b/
Roo/htmleditor/FilterEmpty.js
@@
-22,10
+22,7
@@
Roo.extend(Roo.htmleditor.FilterEmpty, Roo.htmleditor.FilterBlack,
{
Roo.log(node);
var ar = Array.from(node.childNodes);
- Roo.log(ar);
- for (var i = 0; i < ar.length; i++) {
- this.walk(ar[i]);
- }
+ this.walk(node);
if(!['B', 'I', 'U', 'S'].includes(node.tagName)) {
return false;
}