projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6793226
)
Roo/HtmlEditorCore.js
author
Alan Knowles
<alan@roojs.com>
Fri, 22 Nov 2019 05:04:26 +0000
(13:04 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 22 Nov 2019 05:04:26 +0000
(13:04 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
52c6028
..
a462fb3
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1234,10
+1234,8
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
while (node.childNodes.length) {
var cn = node.childNodes[0];
node.removeChild(cn);
- if (cn.tagName.toLowerCase().match(/^(meta|link|\\?xml:|st1:|o:|v:|font)/)) {
- continue;
- }
node.parentNode.insertBefore(cn, node);
+ this.cleanWord(cn);
}
node.parentNode.removeChild(node);
/// no need to iterate chidlren = it's got none..