TinyMCEPlugin

Integration of the Tiny MCE WYSIWYG Editor

screenshot

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
Topic attachments
I Attachment Action Size Date Who Comment
foswiki.jsjs foswiki.js manage 1.8 K 18 Nov 2013 - 23:10 Unknown User  
foswiki.js.gzgz foswiki.js.gz manage 0.9 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_src.jsjs foswiki_src.js manage 4.2 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_tiny.jsjs foswiki_tiny.js manage 8.1 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_tiny.js.gzgz foswiki_tiny.js.gz manage 2.5 K 18 Nov 2013 - 23:10 Unknown User  
foswiki_tiny_src.jsjs foswiki_tiny_src.js manage 17.3 K 18 Nov 2013 - 23:10 Unknown User  
pluginsEXT plugins manage 4.0 K 03 Jul 2017 - 20:26 Unknown User  
tinymceEXT tinymce manage 4.0 K 03 Jul 2017 - 20:26 Unknown User  
watermark_literal.gifgif watermark_literal.gif manage 1.0 K 18 Nov 2013 - 23:10 Unknown User  
watermark_protect_forever.gifgif watermark_protect_forever.gif manage 1.5 K 18 Nov 2013 - 23:10 Unknown User  
watermark_protect_on_save.gifgif watermark_protect_on_save.gif manage 1.5 K 18 Nov 2013 - 23:10 Unknown User  
watermark_verbatim.gifgif watermark_verbatim.gif manage 1.2 K 18 Nov 2013 - 23:10 Unknown User  
wysiwyg.csscss wysiwyg.css manage 0.8 K 18 Nov 2013 - 23:10 Unknown User  
wysiwyg.css.gzgz wysiwyg.css.gz manage 0.4 K 18 Nov 2013 - 23:10 Unknown User  
wysiwyg_src.csscss wysiwyg_src.css manage 1.0 K 18 Nov 2013 - 23:10 Unknown User  
Topic revision: r1 - 27 Apr 2012, ProjectContributor
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Telem? Send feedback