forked from extern/egroupware
67 lines
2.3 KiB
HTML
67 lines
2.3 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>Plugin: paste</title>
|
||
|
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<div class="header">
|
||
|
<h1>Plugin: paste</h1>
|
||
|
</div>
|
||
|
|
||
|
<div class="content">
|
||
|
<p>This plugin adds paste as plain text and paste from Word icons to TinyMCE. This plugin was developed by Ryan Demmer and modified by the TinyMCE crew to be more general and some extra features where added.</p>
|
||
|
<p>
|
||
|
On 25 May 2005, this plugin was modified by speednet: IE now pastes directly into the editor, bypassing the extra steps of opening the Insert box, selecting options, and clicking Insert. Speednet also added the Select All command, which highlights all the content in the editor when the user clicks the toolbar button (Other miscellaneous cleanup also).
|
||
|
</p>
|
||
|
<h3>Installation Instructions</h3>
|
||
|
<p>
|
||
|
<ul>
|
||
|
<li>Copy the paste directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).</li>
|
||
|
<li>Add plugin to TinyMCE plugin option list example: plugins : "paste".</li>
|
||
|
<li>Add the button names to button list, example: theme_advanced_buttons3_add : "pastetext,pasteword,selectall".</li>
|
||
|
</ul>
|
||
|
</p>
|
||
|
<h3>Initialization Example</h3>
|
||
|
<p>
|
||
|
<div class="example">
|
||
|
<pre>
|
||
|
tinyMCE.init({
|
||
|
theme : "advanced",
|
||
|
mode : "textareas",
|
||
|
plugins : "paste",
|
||
|
theme_advanced_buttons3_add : "pastetext,pasteword,selectall",
|
||
|
paste_create_paragraphs : false,
|
||
|
paste_use_dialog : true
|
||
|
});
|
||
|
</pre>
|
||
|
</div>
|
||
|
</p>
|
||
|
<p>
|
||
|
<h3>Options</h3>
|
||
|
</p>
|
||
|
<p>
|
||
|
<table border="1" cellspacing="0" cellpadding="4">
|
||
|
<tr>
|
||
|
<td>[paste_create_paragraphs]</td>
|
||
|
<td>If enabled double linefeeds are converted to paragraph elements when using the plain text dialog. This is enabled by default.</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td>[paste_use_dialog]</td>
|
||
|
<td>MSIE specific option, if you set this to false both Mozilla and MSIE will present a paste dialog. If you set it to true pasting in MSIE will be done directly. This option is set to false by default.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</p>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
<div class="footer">
|
||
|
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
||
|
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
||
|
<br style="clear: both" />
|
||
|
</div>
|
||
|
|
||
|
</body>
|
||
|
</html>
|