roojs-ui.js
[roojs1] / roojs-debug.js
index 41795a6..76f471b 100644 (file)
@@ -44067,15 +44067,11 @@ 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.hasAttributes());
-            console.log(node.childNodes.length);
-            console.log(node.firstChild.nodeName);
-            
             console.log('run!!!!!');
             var textNode = node.firstChild;
             console.log(textNode);