projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf9100
)
Roo/HtmlEditorCore.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2019 08:07:29 +0000
(16:07 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2019 08:07:29 +0000
(16:07 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
5711723
..
8c15285
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1177,9
+1177,9
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
node.childNodes.length == 1 &&
node.firstChild.nodeName == "#text"
) {
-
-
-
+ var textNode = node.firstChild;
+ node.parentNode.insertBefore(textNode, node);
+ node.parentNode.removeChild(node);
}
if (node.nodeName == "#text") {