projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed00bfd
)
Roo/HtmlEditorCore.js
author
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 09:08:24 +0000
(17:08 +0800)
committer
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 09:08:24 +0000
(17:08 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
6a1a405
..
e904f8a
100644
(file)
--- 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