TinyMCEPlugin
Integration of the Tiny MCE WYSIWYG Editor
This is an integration of the fast and highly functional
TinyMCE WYSIWYG editor. It supports a wide range of browsers, including Firefox, IE, Safari, Opera and Google Chrome (see
compatibility chart). At the time of writing it doesn't work with Konqueror.
The integration uses the
Foswiki:Extensions.WysiwygPlugin to translate text to and from a format that TinyMCE can edit.
This plugin is able to swap out
standard text areas and replace them with WYSIWYG editors. This means you get WYSIWYG editors for textareas in forms, as well as for the main text of the topic. It can also co-exist alongside other WYSIWYG editors.
The editor automatically "switches itself off" (i.e. reverts to the old text-only window) when editing topics that contain Foswiki content it can't handle, such as complex macros.
Editor Notes
The editor uses a translator module to convert from Foswiki Topic Markup Language (TML) to HTML and back. The translator converts special macros - such as %MACROS% - to plain text, and encloses them within HTML spans using a special style called
WYSIWYG_PROTECTED. In this way the editor can detect text that is not meant to be HTML formatted. This style is
also used to protect special text you enter into the editor from being interpreted when the topic is translated back into TML. If you want to add any special features that are sensitive to formatting, such as
Set statements, then you should format those regions using 'Protect on save' or 'Protect forever'.
Installation Instructions
*NOT