public/javascripts/tiny_mce/plugins/preview/preview.html in muck-contents-0.1.11 vs public/javascripts/tiny_mce/plugins/preview/preview.html in muck-contents-0.1.12

- old
+ new

@@ -1,19 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<script language="javascript" src="../../tiny_mce_popup.js"></script> +<script type="text/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()); -}); - +<script type="text/javascript"><!-- document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">'); +// --> </script> <title>{#preview.preview_desc}</title> </head> <body id="content"> -<!-- Gets filled with editor contents --> +<script type="text/javascript"> + document.write(tinyMCEPopup.editor.getContent()); +</script> </body> </html>