X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;h=130983fd41fb57aacdeb475236577cb9a4064767;hp=840c5b9f5628d2b1982e36331997401e232b7272;hb=refs%2Fheads%2Fwip_alan_T6102_issue_with_word_clean;hpb=62da9cebb6e80e2a60b5fd074b10a2ba48005eb1 diff --git a/roojs-debug.js b/roojs-debug.js index 840c5b9f56..130983fd41 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -44140,13 +44140,16 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { node.parentNode.removeChild(node); return; } - Roo.log(node.tagName); + //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); /// no need to iterate chidlren = it's got none..