includes/clientside/tinymce/plugins/template/blank.htm
changeset 335 67bd3121a12e
parent 1 fe660c52c48f
--- a/includes/clientside/tinymce/plugins/template/blank.htm	Wed Dec 26 00:37:26 2007 -0500
+++ b/includes/clientside/tinymce/plugins/template/blank.htm	Thu Dec 27 22:09:33 2007 -0500
@@ -3,21 +3,10 @@
 	<title>blank_page</title>
 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 	<script type="text/javascript">
-		var tinyMCE = parent.tinyMCE, css = tinyMCE.getParam("content_css").split(','), i, u;
-
-		// Load content CSS files
-		for (i=0; i<css.length; i++) {
-			u = css[i];
-
-			// Fix relative
-			if (u.charAt(0) != '/' && u.indexOf('://') == -1)
-				u = tinyMCE.documentBasePath + "/" + u;
-
-			document.write('<link href="' + u + '" rel="stylesheet" type="text/css" />');
-		}
+		parent.TemplateDialog.loadCSSFiles(document);
 	</script>
 </head>
-<body id="mceTemplatePreview">
+<body id="mceTemplatePreview" class="mceContentBody">
 
 </body>
 </html>