1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <title>Plugin: preview
</title>
5 <link href=
"css/screen.css" rel=
"stylesheet" type=
"text/css" />
10 <h1>Plugin: preview
</h1>
14 <p>This plugin adds a preview button to TinyMCE, pressing the button opens a popup showing the current content.
</p>
16 <h3>Installation Instructions
</h3>
19 <li>Copy the preview directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
</li>
20 <li>Add plugin to TinyMCE plugin option list example: plugins :
"preview
".
</li>
21 <li>Add the button name to button list, example: theme_advanced_buttons3_add :
"preview
".
</li>
24 <h3>Initialization Example
</h3>
29 theme :
"advanced
",
30 mode :
"textareas
",
31 plugins :
"preview
",
32 theme_advanced_buttons3_add :
"preview
",
33 plugin_preview_width :
"500",
34 plugin_preview_height :
"600"
42 <table border=
"1" cellspacing=
"0" cellpadding=
"4">
44 <td>[plugin_preview_width]
</td>
45 <td>Preview window width. Defaults to
550.
</td>
48 <td>[plugin_preview_height]
</td>
49 <td>Preview window height. Defaults to
600.
</td>
52 <td>[plugin_preview_pageurl]
</td>
53 <td>Custom preview page URL relative from theme use
"../../plugins/preview/example.html" for a example.
</td>
60 <div class=
"helpindexlink"><a href=
"index.html">Index
</a></div>
61 <div class=
"copyright">Copyright
© 2003-
2006 <a href=
"http://www.moxiecode.com">Moxiecode Systems AB
</a></div>
62 <br style=
"clear: both" />