NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item4558: Pull down for commonly used icons and strings

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Enhancement Confirmed Extension TinyMCEPlugin  

Adding A Selection Of Common Icons/Strings To Insert

Not a bug, but an enhancement request (not sure how to indicate this in the form). The kupu editor has a useful feature where selections of common icons and TWiki strings can be defined and insterted. New users found this really helpful, and it made it easy to keep the content as tidy as possible for TML users (for example, using %ICON% instead of img tags).

Can you suggest a way for us to add something similar for TMCE, so we can develop something for the community ?

-- TWiki:Main/SteveJonesST - 06 Sep 2007

TinyMCE? is initialised using a TWiki variable called TINYMCEPLUGIN_INIT. This contains all the initialisation options passed to the editor, which includes things such as lists of predefined images that can be passed to the advimage plugin. Read the doc on TinyMCE? , experiment with the setting of that variable, and see what you can/can't do.

The HTML2TML? translator is already configured to pattern-match a number of paths (WYSIWYGPLUGIN_ICONS) and convert them back to "TML strings" (that was how Kupu worked) and re-using that mechnism wouldn't be hard.

Regraded to Enhancement.

CC

Hi. I did poke around in there a little, but if you say it should be possible, I'll spend some more time and see if I can work it out. I'll keep this item updated with my sucess (or misery). Thanks.

-- TWiki:Main.SteveJonesST - 06 Sep 2007

See also:

-- PaulHarvey - 03 Jan 2010

ItemTemplate edit

Summary Pull down for commonly used icons and strings
ReportedBy TWiki:Main.SteveJonesST
Codebase
SVN Range TWiki-4.2.0, Wed, 05 Sep 2007, build 14735
AppliesTo Extension
Component TinyMCEPlugin
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r5 - 03 Jan 2010 - 03:27:54 - PaulHarvey
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads