From 9cfa771511afa573674635dcd316e0f3753bc88c Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 19 Jun 2015 17:08:24 +0800 Subject: [PATCH] Roo/HtmlEditorCore.js --- Roo/HtmlEditorCore.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Roo/HtmlEditorCore.js b/Roo/HtmlEditorCore.js index 6a1a405938..e904f8a616 100644 --- a/Roo/HtmlEditorCore.js +++ b/Roo/HtmlEditorCore.js @@ -1470,7 +1470,11 @@ Roo.extend(Roo.HtmlEditorCore, Roo.Component, { removeStylesheets : function() { + var _this = this; + Roo.each(Roo.get(_this.iframe.contentDocument.head).select('link[rel=stylesheet]', true).elements, function(s){ + s.remove(); + }); } // hide stuff that is not compatible -- 2.39.2