diff options
| author | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-09 12:07:57 +0200 |
| commit | a6292dd0fecd4482fe863ed849d126b5281b1a8a (patch) | |
| tree | 7c4c32e1a3448c5d1995a236ed01c731018da13d /public/javascripts/tiny_mce/plugins/preview/preview.html | |
| parent | 83fe1b1abd7d7bb85679be3f1341e5c88db0ae83 (diff) | |
huge tiny_mce update - now using the tiny_mce jquery build which allows tiny_mce to be initialized via jquery - great!
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/preview/preview.html')
| -rw-r--r--[-rwxr-xr-x] | public/javascripts/tiny_mce/plugins/preview/preview.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/public/javascripts/tiny_mce/plugins/preview/preview.html b/public/javascripts/tiny_mce/plugins/preview/preview.html index 7960f78..67e7b14 100755..100644 --- a/public/javascripts/tiny_mce/plugins/preview/preview.html +++ b/public/javascripts/tiny_mce/plugins/preview/preview.html | |||
| @@ -1,19 +1,17 @@ | |||
| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
| 1 | <html xmlns="http://www.w3.org/1999/xhtml"> | 2 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 2 | <head> | 3 | <head> |
| 3 | <script language="javascript" src="../../tiny_mce_popup.js"></script> | 4 | <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
| 4 | <script type="text/javascript" src="jscripts/embed.js"></script> | 5 | <script type="text/javascript" src="jscripts/embed.js"></script> |
| 5 | <script type="text/javascript"> | 6 | <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") + '">'); | 7 | document.write('<base href="' + tinyMCEPopup.getWindowArg("base") + '">'); |
| 8 | // --> | ||
| 13 | </script> | 9 | </script> |
| 14 | <title>{#preview.preview_desc}</title> | 10 | <title>{#preview.preview_desc}</title> |
| 15 | </head> | 11 | </head> |
| 16 | <body id="content"> | 12 | <body id="content"> |
| 17 | <!-- Gets filled with editor contents --> | 13 | <script type="text/javascript"> |
| 14 | document.write(tinyMCEPopup.editor.getContent()); | ||
| 15 | </script> | ||
| 18 | </body> | 16 | </body> |
| 19 | </html> | 17 | </html> |
