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