X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2Fsrc%2FRoo_htmleditor_Filter.js.html;h=6341dafac68357135647187401a05eb1a4ebbb59;hb=ac5c1fd28fd7c9ecf15791a9cfee4b57186debe4;hp=af380921bab5a2aafbfe69d24c2167d0e12b7681;hpb=7c2fea90177f939535f56046865898918f00c251;p=roojs1 diff --git a/docs/src/Roo_htmleditor_Filter.js.html b/docs/src/Roo_htmleditor_Filter.js.html index af380921ba..6341dafac6 100644 --- a/docs/src/Roo_htmleditor_Filter.js.html +++ b/docs/src/Roo_htmleditor_Filter.js.html @@ -62,5 +62,20 @@ }, this); + }, + + + removeNodeKeepChildren : function( node) + { + + ar = Array.from(node.childNodes); + for (var i = 0; i < ar.length; i++) { + + node.removeChild(ar[i]); + // what if we need to walk these??? + node.parentNode.insertBefore(ar[i], node); + + } + node.parentNode.removeChild(node); } }; \ No newline at end of file