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