includes/clientside/tinymce/plugins/template/js/template.js
changeset 395 fa4c5ecb7c9a
parent 335 67bd3121a12e
child 543 dffcbfbc4e59
--- a/includes/clientside/tinymce/plugins/template/js/template.js	Thu Jan 31 22:29:07 2008 -0500
+++ b/includes/clientside/tinymce/plugins/template/js/template.js	Sat Feb 02 11:54:16 2008 -0500
@@ -46,6 +46,11 @@
 	},
 
 	loadCSSFiles : function(d) {
+		var ed = tinyMCEPopup.editor;
+
+		tinymce.each(ed.getParam("content_css", '').split(','), function(u) {
+			d.write('<link href="' + ed.documentBaseURI.toAbsolute(u) + '" rel="stylesheet" type="text/css" />');
+		});
 	},
 
 	selectTemplate : function(u) {