Opened 12 years ago

Closed 11 years ago

#3430 closed New Feature (fixed)

Provide an easy way to add and remove plugins

Reported by: Frederico Caldeira Knabben Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Confirmed Review+ Cc:


Currently, it's a bit cumbersome to add and remove plugins in the editor setting. To do that, we need to manipulate the plugins setting string in the custom configuration file. For example:

// Add a new plugin.
config.plugins += ',myplugin';

// Remove the elementspath plugin.
config.plugins = config.plugins.replace( /(?:^|,)elementspath(?=,|$)/, '' );

This situation, other than being counterintuitive, makes it impossible to set these configurations at editor creation time. We should instead have ways to make it with easy, as this is a common task.

Attachments (1)

3430.patch (2.7 KB) - added by Frederico Caldeira Knabben 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Frederico Caldeira Knabben

Attachment: 3430.patch added

comment:1 Changed 12 years ago by Frederico Caldeira Knabben

Keywords: Review? added
Status: newassigned

comment:2 Changed 12 years ago by Garry Yao

Keywords: Review+ added; Review? removed

comment:3 Changed 11 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

Fixed with [3425].

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy