diff options
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/preview/preview.html')
| -rwxr-xr-x | public/javascripts/tiny_mce/plugins/preview/preview.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/public/javascripts/tiny_mce/plugins/preview/preview.html b/public/javascripts/tiny_mce/plugins/preview/preview.html new file mode 100755 index 0000000..7960f78 --- /dev/null +++ b/public/javascripts/tiny_mce/plugins/preview/preview.html | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
| 2 | <head> | ||
| 3 | <script language="javascript" src="../../tiny_mce_popup.js"></script> | ||
| 4 | <script type="text/javascript" src="jscripts/embed.js"></script> | ||
| 5 | <script type="text/javascript"> | ||
| 6 | tinyMCEPopup.onInit.add(function(ed) { | ||
| 7 | var dom = tinyMCEPopup.dom; | ||
| 8 | |||
| 9 | dom.setHTML('content', ed.getContent()); | ||
| 10 | }); | ||
| 11 | |||
| 12 | document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">'); | ||
| 13 | </script> | ||
| 14 | <title>{#preview.preview_desc}</title> | ||
| 15 | </head> | ||
| 16 | <body id="content"> | ||
| 17 | <!-- Gets filled with editor contents --> | ||
| 18 | </body> | ||
| 19 | </html> | ||
