From 55376e39545d42dece393def8ee969cf263f21b4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 22 Nov 2019 11:53:30 +0800 Subject: [PATCH] stop iteration of invalid node.. --- Roo/HtmlEditorCore.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2