projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77bf403
)
Roo/HtmlEditorCore.js
author
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 09:04:19 +0000
(17:04 +0800)
committer
Edward
<edward@roojs.com>
Fri, 19 Jun 2015 09:04:19 +0000
(17:04 +0800)
Roo/HtmlEditorCore.js
patch
|
blob
|
history
diff --git
a/Roo/HtmlEditorCore.js
b/Roo/HtmlEditorCore.js
index
ff5da54
..
e31e601
100644
(file)
--- a/
Roo/HtmlEditorCore.js
+++ b/
Roo/HtmlEditorCore.js
@@
-1455,10
+1455,17
@@
Roo.extend(Roo.HtmlEditorCore, Roo.Component, {
type : 'text/css',
href : stylesheets
});
+
+ return;
}
-// Roo.each(this.stylesheets, function(s) {
-// st += '<link rel="stylesheet" type="text/css" href="' + s +'" />'
-// });
+ Roo.each(stylesheets, function(s) {
+ Roo.get(this.iframe.contentDocument.head).createChild({
+ tag : 'link',
+ rel : 'stylesheet',
+ type : 'text/css',
+ href : stylesheets
+ });
+ });
},