includes/clientside/tinymce/themes/simple/editor_template_src.js
changeset 543 dffcbfbc4e59
parent 476 f26a69c40431
child 778 57ce13805b6f
equal deleted inserted replaced
542:5841df0ab575 543:dffcbfbc4e59
     1 /**
     1 /**
     2  * $Id: editor_template_src.js 637 2008-02-25 14:59:07Z spocke $
     2  * $Id: editor_template_src.js 752 2008-03-27 21:51:25Z spocke $
     3  *
     3  *
     4  * This file is meant to showcase how to create a simple theme. The advanced
     4  * This file is meant to showcase how to create a simple theme. The advanced
     5  * theme is more suitable for production use.
     5  * theme is more suitable for production use.
     6  *
     6  *
     7  * @author Moxiecode
     7  * @author Moxiecode
    28 				});
    28 				});
    29 
    29 
    30 				ed.dom.loadCSS(url + "/skins/" + s.skin + "/content.css");
    30 				ed.dom.loadCSS(url + "/skins/" + s.skin + "/content.css");
    31 			});
    31 			});
    32 
    32 
    33 			DOM.loadCSS(url + "/skins/" + s.skin + "/ui.css");
    33 			DOM.loadCSS((s.editor_css ? ed.baseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css");
    34 		},
    34 		},
    35 
    35 
    36 		renderUI : function(o) {
    36 		renderUI : function(o) {
    37 			var t = this, n = o.targetNode, ic, tb, ed = t.editor, cf = ed.controlManager, sc;
    37 			var t = this, n = o.targetNode, ic, tb, ed = t.editor, cf = ed.controlManager, sc;
    38 
    38