1 <html xmlns="http://www.w3.org/1999/xhtml">
\r
3 <script language="javascript" src="../../tiny_mce_popup.js"></script>
\r
4 <script type="text/javascript" src="jscripts/embed.js"></script>
\r
5 <script type="text/javascript">
\r
6 tinyMCEPopup.onInit.add(function(ed) {
\r
7 var dom = tinyMCEPopup.dom;
\r
9 // Load editor content_css
\r
10 tinymce.each(ed.settings.content_css.split(','), function(u) {
\r
11 dom.loadCSS(ed.documentBaseURI.toAbsolute(u));
\r
14 // Place contents inside div container
\r
15 dom.setHTML('content', ed.getContent());
\r
18 <title>Example of a custom preview page</title>
\r
22 Editor contents: <br />
\r
24 <!-- Gets filled with editor contents -->
\r