mailr/public/tiny_mce/plugins/paste
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
blank.htm 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
pastetext.htm init import from old mailr project (http://svn.littlegreen.org/mailr/trunk) 2009-01-08 05:27:12 +10:00
pasteword.htm 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

 Paste plugin for TinyMCE
------------------------------

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.

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.)


Installation instructions:
  * Add plugin to TinyMCE plugin option list example: plugins : "paste".
  * Add the plaintext button name to button list, example: theme_advanced_buttons3_add : "pastetext,pasteword,selectall".

Initialization example:
  tinyMCE.init({
    theme : "advanced",
    mode : "textareas",
    plugins : "paste",
    theme_advanced_buttons3_add : "pastetext,pasteword,selectall",
    paste_create_paragraphs : false,
    paste_use_dialog : true
  });

Options:
 [paste_create_paragraphs] - If enabled double linefeeds are converted to paragraph
                             elements when using the plain text dialog. This is enabled by default.
 [paste_use_dialog]        - MSIE specific option, if you set this to true both Mozilla and MSIE will present a paste dialog.
                             if you set it to false pasting in MSIE will be done directly. This option is set to false by default.