X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=50a54e02c8b7871e35e4ac783e6b4dfc8b2dd7f5;hp=3c365f3ee37076c977eedfc8849213d2abe9d066;hb=c5c497557c3d3e1b40e4f1b17296572cae125abc;hpb=55376e39545d42dece393def8ee969cf263f21b4 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index 3c365f3ee3..50a54e02c8 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -23212,16 +23212,20 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { node.parentNode.removeChild(node); return; } - + //Roo.log(node.tagName); // remove - but keep children.. if (node.tagName.toLowerCase().match(/^(meta|link|\\?xml:|st1:|o:|v:|font)/)) { + //Roo.log('-- removed'); while (node.childNodes.length) { var cn = node.childNodes[0]; node.removeChild(cn); node.parentNode.insertBefore(cn, node); + // move node to parent - and clean it.. + this.cleanWord(cn); } node.parentNode.removeChild(node); - this.iterateChildren(node, this.cleanWord); + /// no need to iterate chidlren = it's got none.. + //this.iterateChildren(node, this.cleanWord); return; } // clean styles