From: Alan Knowles Date: Fri, 22 Nov 2019 03:53:30 +0000 (+0800) Subject: stop iteration of invalid node.. X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=55376e39545d42dece393def8ee969cf263f21b4 stop iteration of invalid node.. --- diff --git a/Roo/HtmlEditorCore.js b/Roo/HtmlEditorCore.js index 0ba8b64a21..1c2c8ca318 100644 --- a/Roo/HtmlEditorCore.js +++ b/Roo/HtmlEditorCore.js @@ -1236,7 +1236,8 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { node.parentNode.insertBefore(cn, node); } 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