includes/clientside/tinymce/plugins/template/js/template.js
changeset 395 fa4c5ecb7c9a
parent 335 67bd3121a12e
child 543 dffcbfbc4e59
equal deleted inserted replaced
394:fbfdcea634a7 395:fa4c5ecb7c9a
    44 			e.style.width  = Math.abs(w - 5) + 'px';
    44 			e.style.width  = Math.abs(w - 5) + 'px';
    45 		}
    45 		}
    46 	},
    46 	},
    47 
    47 
    48 	loadCSSFiles : function(d) {
    48 	loadCSSFiles : function(d) {
       
    49 		var ed = tinyMCEPopup.editor;
       
    50 
       
    51 		tinymce.each(ed.getParam("content_css", '').split(','), function(u) {
       
    52 			d.write('<link href="' + ed.documentBaseURI.toAbsolute(u) + '" rel="stylesheet" type="text/css" />');
       
    53 		});
    49 	},
    54 	},
    50 
    55 
    51 	selectTemplate : function(u) {
    56 	selectTemplate : function(u) {
    52 		var d = window.frames['templatesrc'].document;
    57 		var d = window.frames['templatesrc'].document;
    53 
    58