projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2327e3e
)
Roo/htmleditor/FilterEmpty.js
author
leon
<leon@roojs.com>
Mon, 26 Feb 2024 08:47:03 +0000
(16:47 +0800)
committer
leon
<leon@roojs.com>
Mon, 26 Feb 2024 08:47:03 +0000
(16:47 +0800)
Roo/htmleditor/FilterEmpty.js
patch
|
blob
|
history
diff --git
a/Roo/htmleditor/FilterEmpty.js
b/Roo/htmleditor/FilterEmpty.js
index
3056b40
..
03bf499
100644
(file)
--- a/
Roo/htmleditor/FilterEmpty.js
+++ b/
Roo/htmleditor/FilterEmpty.js
@@
-15,12
+15,16
@@
Roo.htmleditor.FilterEmpty = function(cfg)
Roo.extend(Roo.htmleditor.FilterEmpty, Roo.htmleditor.FilterBlack,
{
- tag :
['B', 'I', 'U', 'S']
,
+ tag :
true
,
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++) {