includes/clientside/tinymce/themes/simple/editor_template_src.js
changeset 778 57ce13805b6f
parent 543 dffcbfbc4e59
equal deleted inserted replaced
777:488665d49417 778:57ce13805b6f
     1 /**
     1 /**
     2  * $Id: editor_template_src.js 752 2008-03-27 21:51:25Z spocke $
     2  * $Id: editor_template_src.js 920 2008-09-09 14:05:33Z 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((s.editor_css ? ed.baseURI.toAbsolute(s.editor_css) : '') || url + "/skins/" + s.skin + "/ui.css");
    33 			DOM.loadCSS((s.editor_css ? ed.documentBaseURI.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