/**\r
- * $Id: editor_template_src.js 920 2008-09-09 14:05:33Z spocke $\r
+ * editor_template_src.js\r
*\r
- * This file is meant to showcase how to create a simple theme. The advanced\r
- * theme is more suitable for production use.\r
+ * Copyright 2009, Moxiecode Systems AB\r
+ * Released under LGPL License.\r
*\r
- * @author Moxiecode\r
- * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.\r
+ * License: http://tinymce.moxiecode.com/license\r
+ * Contributing: http://tinymce.moxiecode.com/contributing\r
*/\r
\r
(function() {\r
var t = this, states = ['Bold', 'Italic', 'Underline', 'Strikethrough', 'InsertUnorderedList', 'InsertOrderedList'], s = ed.settings;\r
\r
t.editor = ed;\r
+ ed.contentCSS.push(url + "/skins/" + s.skin + "/content.css");\r
\r
ed.onInit.add(function() {\r
ed.onNodeChange.add(function(ed, cm) {\r
cm.get(c.toLowerCase()).setActive(ed.queryCommandState(c));\r
});\r
});\r
-\r
- ed.dom.loadCSS(url + "/skins/" + s.skin + "/content.css");\r
});\r
\r
DOM.loadCSS((s.editor_css ? ed.documentBaseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css");\r