projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4838d1f
)
Roo/htmleditor/FilterEmpty.js
author
leon
<leon@roojs.com>
Mon, 26 Feb 2024 09:06:09 +0000
(17:06 +0800)
committer
leon
<leon@roojs.com>
Mon, 26 Feb 2024 09:06:09 +0000
(17:06 +0800)
Roo/htmleditor/FilterEmpty.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/FilterEmpty.js
b/Roo/htmleditor/FilterEmpty.js
index
411b99b
..
baade89
100644
(file)
--- a/
Roo/htmleditor/FilterEmpty.js
+++ b/
Roo/htmleditor/FilterEmpty.js
@@
-22,7
+22,7
@@
Roo.extend(Roo.htmleditor.FilterEmpty, Roo.htmleditor.FilterBlack,
{
Roo.log(node.tagName);
Roo.log(node.innerHTML);
- if (node.
innerHTML.trim() != ''
) {
+ if (node.
childNode.length != 0
) {
this.walk(node);
}
Roo.log('CHECK');