diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 22:52:50 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-27 22:52:50 +0200 |
| commit | 9a19a0494ef51cdac9a78e24d517ca48ba44c453 (patch) | |
| tree | 8eaae12d8047a40e29d3ea7ff3116b5c869e04bd /public/javascripts/tiny_mce/plugins/preview/example.html | |
| parent | 85a01e35274b8d4d4165a7b26bd7986e211246bb (diff) | |
| parent | 1853082fcd8c067390c246f9daa01a9b47387497 (diff) | |
Migration from Rails 2.3.5 to Rails 8.1 successful.
Merging dev branch.
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/preview/example.html')
| -rw-r--r-- | public/javascripts/tiny_mce/plugins/preview/example.html | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/public/javascripts/tiny_mce/plugins/preview/example.html b/public/javascripts/tiny_mce/plugins/preview/example.html deleted file mode 100644 index b2c3d90..0000000 --- a/public/javascripts/tiny_mce/plugins/preview/example.html +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 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 | // Load editor content_css | ||
| 10 | tinymce.each(ed.settings.content_css.split(','), function(u) { | ||
| 11 | dom.loadCSS(ed.documentBaseURI.toAbsolute(u)); | ||
| 12 | }); | ||
| 13 | |||
| 14 | // Place contents inside div container | ||
| 15 | dom.setHTML('content', ed.getContent()); | ||
| 16 | }); | ||
| 17 | </script> | ||
| 18 | <title>Example of a custom preview page</title> | ||
| 19 | </head> | ||
| 20 | <body> | ||
| 21 | |||
| 22 | Editor contents: <br /> | ||
| 23 | <div id="content"> | ||
| 24 | <!-- Gets filled with editor contents --> | ||
| 25 | </div> | ||
| 26 | |||
| 27 | </body> | ||
| 28 | </html> | ||
