Roo/HtmlEditorCore.js
authorEdward <edward@roojs.com>
Tue, 23 Apr 2019 07:43:42 +0000 (15:43 +0800)
committerEdward <edward@roojs.com>
Tue, 23 Apr 2019 07:43:42 +0000 (15:43 +0800)
Roo/HtmlEditorCore.js

index 63f35a7..5711723 100644 (file)
@@ -1172,15 +1172,14 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component,  {
         }
         
         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") {