diff options
| author | hukl <contact@smyck.org> | 2009-02-17 21:54:39 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-02-17 21:54:39 +0100 |
| commit | f61b5b0597e0c25f084ee67d402f12a43a7a9947 (patch) | |
| tree | 3b4c3f9f38637f1a7ecf703ece4fd3bc4c6e2934 /public/javascripts/tiny_mce/plugins/preview/preview.html | |
| parent | 3d3b786cc43266f6292f5edd25733dbb9bd6ed06 (diff) | |
added tinymce editor for body area of pages
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> | ||
