From: Edward Date: Tue, 8 Jul 2014 06:00:53 +0000 (+0800) Subject: Roo/HtmlEditorCore.js X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=bc89ea04964271fcd4fa10a77f3b2f1f85947e3b;p=roojs1 Roo/HtmlEditorCore.js --- diff --git a/Roo/HtmlEditorCore.js b/Roo/HtmlEditorCore.js index 085d1243ea..ed69e18893 100644 --- a/Roo/HtmlEditorCore.js +++ b/Roo/HtmlEditorCore.js @@ -936,13 +936,13 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { // private? - in a new class? cleanUpPaste : function() { - // cleans up the whole document.. - Roo.log('cleanuppaste'); - if(!this.clearUp){ return; } + // cleans up the whole document.. + Roo.log('cleanuppaste'); + this.cleanUpChildren(this.doc.body); var clean = this.cleanWordChars(this.doc.body.innerHTML); if (clean != this.doc.body.innerHTML) {