mailr/public/tiny_mce/plugins/preview
2009-01-08 05:27:12 +10:00
..
images init import from old mailr project (http://svn.littlegreen.org/mailr/trunk) 2009-01-08 05:27:12 +10:00
langs init import from old mailr project (http://svn.littlegreen.org/mailr/trunk) 2009-01-08 05:27:12 +10:00
editor_plugin.js init import from old mailr project (http://svn.littlegreen.org/mailr/trunk) 2009-01-08 05:27:12 +10:00
editor_plugin_src.js init import from old mailr project (http://svn.littlegreen.org/mailr/trunk) 2009-01-08 05:27:12 +10:00
example.html init import from old mailr project (http://svn.littlegreen.org/mailr/trunk) 2009-01-08 05:27:12 +10:00
readme.txt init import from old mailr project (http://svn.littlegreen.org/mailr/trunk) 2009-01-08 05:27:12 +10:00

 Preview plugin for TinyMCE
-----------------------------------

Installation instructions:
  * Copy the preview directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
  * Add plugin to TinyMCE plugin option list example: plugins : "preview".
  * Add the preview button name to button list, example: theme_advanced_buttons3_add : "preview".

Initialization example:
  tinyMCE.init({
    theme : "advanced",
    mode : "textareas",
    plugins : "preview",
    theme_advanced_buttons3_add : "preview",
    plugin_preview_width : "500",
    plugin_preview_height : "600"
  });

Configuration:
  plugin_preview_width - Preview window width. Defaults to 550.
  plugin_preview_height - Preview window height. Defaults to 600.
  plugin_preview_pageurl - Custom preview page URL relative from theme
                           use "../../plugins/preview/example.html" for a example.