From 48c5827fb58fca471b7d5981b66e51bad3caf388 Mon Sep 17 00:00:00 2001 From: Edward Date: Tue, 23 Apr 2019 15:43:42 +0800 Subject: [PATCH] Roo/HtmlEditorCore.js --- Roo/HtmlEditorCore.js | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Roo/HtmlEditorCore.js b/Roo/HtmlEditorCore.js index 63f35a7088..5711723a68 100644 --- a/Roo/HtmlEditorCore.js +++ b/Roo/HtmlEditorCore.js @@ -1172,15 +1172,14 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { } if( - node.nodeName == 'SPAN' -// !node.hasAttributes() && -// node.childNodes.length == 1 && -// node.firstChild.nodeName == "#text" + node.nodeName == 'SPAN' && + !node.hasAttributes() && + node.childNodes.length == 1 && + node.firstChild.nodeName == "#text" ) { - console.log(node); - console.log(node.hasAttributes()); - console.log(node.childNodes.length); - console.log(node.firstChild.nodeName); + + + } if (node.nodeName == "#text") { -- 2.39.2