• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4558: Pull down for commonly used icons and strings

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension TinyMCEPlugin Enhancement Confirmed   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


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.


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

Summary Pull down for commonly used icons and strings
ReportedBy TWiki:Main.SteveJonesST
Codebase 4.0.5
SVN Range TWiki-4.2.0, Wed, 05 Sep 2007, build 14735
AppliesTo Extension
Component TinyMCEPlugin
Priority Enhancement
CurrentState Confirmed


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-12-14 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback