roojs-ui.js
[roojs1] / roojs-ui-debug.js
index 9b03c35..1f9f92e 100644 (file)
@@ -21616,11 +21616,15 @@ 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);