Item4558: Pull down for commonly used icons and strings

pencil
Priority: Enhancement
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TinyMCEPlugin
Branches:
Reported By: TWiki:Main.SteveJonesST
Waiting For:
Last Change By: CrawfordCurrie

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

No formal spec for this, and it's way too old to be useful. Closing.

-- Main.CrawfordCurrie - 24 Mar 2017 - 16:04

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 No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r6 - 24 Mar 2017, CrawfordCurrie
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