projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
41e5328
)
Roo/HtmlEditorCore.js
author
Edward
<edward@roojs.com>
Tue, 23 Apr 2019 07:43:42 +0000
(15:43 +0800)
committer
Edward
<edward@roojs.com>
Tue, 23 Apr 2019 07:43:42 +0000
(15:43 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
63f35a7
..
5711723
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1172,15
+1172,14
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
}
if(
}
if(
- node.nodeName == 'SPAN'
-
//
!node.hasAttributes() &&
-
//
node.childNodes.length == 1 &&
-
//
node.firstChild.nodeName == "#text"
+ node.nodeName == 'SPAN'
&&
+ !node.hasAttributes() &&
+ node.childNodes.length == 1 &&
+ node.firstChild.nodeName == "#text"
) {
) {
- console.log(node);
- console.log(node.hasAttributes());
- console.log(node.childNodes.length);
- console.log(node.firstChild.nodeName);
+
+
+
}
if (node.nodeName == "#text") {
}
if (node.nodeName == "#text") {