warning This is an experimental version of TinyMCECleanStickyBitsPlugin.

support To configure your Foswiki to install from this repository, modify the {ExtensionsRepositories} setting in your lib/LocalSite.cfg like this:
$Foswiki::cfg{ExtensionsRepositories} = 'Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/);Local=(http://foswiki.org/Extensions/Testing/,http://foswiki.org/pub/Extensions/Testing/)';

Read more about configuring Extension repositories

TinyMCE Clean Sticky Bits Plugin

Toolbar button to clean a selection of sticky attributes that would prevent a clean conversion to WikiText

Plugin Preferences

Provides the TinyMCE plugin foswikiclean, which should be enabled by listing it in the TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS preference setting. It provides the following toolbar buttons:

  • foswikiclean - clean the current selection of any extraneous attributes that would cause the html2tml conversion to retain the HTML representation instead of being converted to WikiText. This is achieved in part by exporting the WYSIWYGPLUGIN_STICKYBITS preference variable to the foswikiclean plugin in TinyMCE. The foswikiclean toolbar icon state changes to a clickable alert icon if the selection contains sticky attributes.

The TinyMCEPlugin toolbar may be customised to include these buttons by listing them in the TINYMCEPLUGIN_ADDITIONAL_BUTTONS1, TINYMCEPLUGIN_ADDITIONAL_BUTTONS2 , etc. preference settings.

Alternatively, TinyMCECleanStickyBitsPlugin will automatically:
  • Add itself to the TINYMCEPLUGIN_ADDITIONAL_PLUGINS variable
    • info Inhibit this behaviour by setting TINYMCECLEANSTICKYBITSPLUGIN_NO_AUTOLOAD = on
  • Insert the toolbar buttons to the right of the tablecontrols button, wherever that appears among the TINYMCEPLUGIN_BUTTONS[n] and TINYMCEPLUGIN_ADDITIONAL_BUTTONS[n] variables.
    • info Inhibit this behaviour by setting TINYMCECLEANSTICKYBITSPLUGIN_NO_AUTOTOOLBAR = on

Installation

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Plugin Info

This plugin uses icons from http://www.famfamfam.com/lab/icons/silk/ (see also: Foswiki:Extensions.FamFamFamContrib).

Author: Foswiki:Main.PaulHarvey - http://trin.org.au
Copyright: © 2010, Foswiki Contributors
License: GPL (GNU General Public License)
Release: 11 Jul 2010
Version: 8121 (2010-07-11)
Change History:  
11 Jul 2010 Foswikitask:Item9235: Initial version
Home: http://foswiki.org/Extensions/TinyMCECleanStickyBitsPlugin
Support: http://foswiki.org/Support/TinyMCECleanStickyBitsPlugin
Development: http://foswiki.org/Development/TinyMCECleanStickyBitsPlugin
I Attachment Action Size Date Who Comment
TinyMCECleanStickyBitsPlugin.md5md5 TinyMCECleanStickyBitsPlugin.md5 manage 207 bytes 11 Jul 2010 - 12:58 PaulHarvey  
TinyMCECleanStickyBitsPlugin.sha1sha1 TinyMCECleanStickyBitsPlugin.sha1 manage 231 bytes 11 Jul 2010 - 12:58 PaulHarvey  
TinyMCECleanStickyBitsPlugin.tgztgz TinyMCECleanStickyBitsPlugin.tgz manage 15 K 11 Jul 2010 - 12:57 PaulHarvey  
TinyMCECleanStickyBitsPlugin.zipzip TinyMCECleanStickyBitsPlugin.zip manage 23 K 11 Jul 2010 - 12:57 PaulHarvey  
TinyMCECleanStickyBitsPlugin_installerEXT TinyMCECleanStickyBitsPlugin_installer manage 4 K 11 Jul 2010 - 12:58 PaulHarvey  
Topic revision: r2 - 12 Jul 2010, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy