projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Roo/HtmlEditorCore.js
[roojs1]
/
Roo
/
HtmlEditorCore.js
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") {