includes/clientside/tinymce/plugins/preview/preview.html
author Dan
Mon, 22 Dec 2008 21:26:19 -0500
changeset 793 c0724bf6039b
parent 778 57ce13805b6f
child 1193 e3b94bd055dc
permissions -rw-r--r--
Added dynamic reload-less re-auth to admin panel, so that if a session is lost it can be recovered without a reload. Support for hooking into form submits will be added in the future.

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript" src="../../tiny_mce_popup.js"></script>
<script type="text/javascript" src="jscripts/embed.js"></script>
<script type="text/javascript">
tinyMCEPopup.onInit.add(function(ed) {
	var dom = tinyMCEPopup.dom;

	dom.setHTML('content', ed.getContent());
});

document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">');
</script>
<title>{#preview.preview_desc}</title>
</head>
<body id="content">
<!-- Gets filled with editor contents -->
</body>
</html>