diff options
author | alecpl <alec@alec.pl> | 2011-03-27 15:14:12 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-03-27 15:14:12 +0000 |
commit | 94dfd8ab9d61a969453fdd3b9be14b58e1576816 (patch) | |
tree | c3ce609ea828dfb08e710378703770de86c75188 /program/js/tiny_mce/themes/simple/editor_template_src.js | |
parent | c09e3287c1704473bc9a68c6eaae45ae2ad3c418 (diff) |
- TinyMCE 3.4.1
Diffstat (limited to 'program/js/tiny_mce/themes/simple/editor_template_src.js')
-rw-r--r-- | program/js/tiny_mce/themes/simple/editor_template_src.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/program/js/tiny_mce/themes/simple/editor_template_src.js b/program/js/tiny_mce/themes/simple/editor_template_src.js index 4b862d49d..01ce87c58 100644 --- a/program/js/tiny_mce/themes/simple/editor_template_src.js +++ b/program/js/tiny_mce/themes/simple/editor_template_src.js @@ -19,6 +19,7 @@ var t = this, states = ['Bold', 'Italic', 'Underline', 'Strikethrough', 'InsertUnorderedList', 'InsertOrderedList'], s = ed.settings;
t.editor = ed;
+ ed.contentCSS.push(url + "/skins/" + s.skin + "/content.css");
ed.onInit.add(function() {
ed.onNodeChange.add(function(ed, cm) {
@@ -26,8 +27,6 @@ cm.get(c.toLowerCase()).setActive(ed.queryCommandState(c));
});
});
-
- ed.dom.loadCSS(url + "/skins/" + s.skin + "/content.css");
});
DOM.loadCSS((s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css");
|