Feature Proposal: Replace TINYMCEPLUGIN_INIT preference with topic section

Motivation

TINYMCEPLUGIN_INIT is unwieldy and the current implementation duplicates code between documentation and TinyMCEPlugin.pm.

We quietly added some new pref vars to control TinyMCEPlugin in Tasks.Item8416 and expanded in Tasks.Item9210. As a part of finishing off the doc, I implemented the named topic section config.

This proposal and the checked-in implementation maintains the old TINYMCEPLUGIN_INIT preference variable capability, but upgraders will need a big red warning that the new TinyMCEPlugin 3.3.x will not like old TinyMCEPlugin 3.2.x _INIT strings.

Description and Documentation

Replace with a new variable TINYMCEPLUGIN_INIT_TOPIC which points to a topic containing a named section TINYMCEPLUGIN_INIT which will be used to populate the TINYMCEPLUGIN_INIT preference in the browser.

Examples

Impact

%WHATDOESITAFFECT%
edit

Implementation

-- Contributors: PaulHarvey - 27 Jun 2010

Discussion

Decided to replace instead of deprecate. Maybe there is some plugin application where it would be desirable to use the TINYMCEPLUGIN_INIT var to manipulate TinyMCEPlugin.

-- PaulHarvey - 28 Jun 2010
Topic revision: r3 - 06 Aug 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