From 94dfd8ab9d61a969453fdd3b9be14b58e1576816 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 27 Mar 2011 11:14:12 -0400 Subject: [PATCH] - TinyMCE 3.4.1 --- 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 4b862d4..01ce87c 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"); -- Gitblit v1.9.1