roojs-ui.js
[roojs1] / roojs-bootstrap-debug.js
index bfe1abf..a9d6aac 100644 (file)
@@ -23155,15 +23155,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);