includes/clientside/tinymce/plugins/template/blank.htm
author Dan
Sun, 14 Oct 2007 01:07:07 -0400
changeset 185 ab6336bfce48
parent 1 fe660c52c48f
child 335 67bd3121a12e
permissions -rw-r--r--
Coupla cheap hacks in St. Patty to make developing more color themes easier

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<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" />');
		}
	</script>
</head>
<body id="mceTemplatePreview">

</body>
</html>