projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b08df6
)
Roo/htmleditor/FilterEmpty.js
author
leon
<leon@roojs.com>
Mon, 26 Feb 2024 08:38:17 +0000
(16:38 +0800)
committer
leon
<leon@roojs.com>
Mon, 26 Feb 2024 08:38:17 +0000
(16:38 +0800)
Roo/htmleditor/FilterEmpty.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/FilterEmpty.js
b/Roo/htmleditor/FilterEmpty.js
index
c5bc83f
..
dd528c3
100644
(file)
--- a/
Roo/htmleditor/FilterEmpty.js
+++ b/
Roo/htmleditor/FilterEmpty.js
@@
-20,14
+20,14
@@
Roo.extend(Roo.htmleditor.FilterEmpty, Roo.htmleditor.FilterBlack,
replaceTag : function(node)
{
+ Roo.log(node);
+ Roo.log(node.childNodes.length);
+
var ar = Array.from(node.childNodes);
for (var i = 0; i < ar.length; i++) {
this.walk(ar[i]);
}
- Roo.log(node);
- Roo.log(node.childNodes.length);
-
if (node.innerHTML.trim() != '') {
return true;
}