Opened 15 years ago

Closed 15 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:

Description

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 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Frederico Caldeira Knabben

Attachment: 3430.patch added

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review? added
Status: newassigned

comment:2 Changed 15 years ago by Garry Yao

Keywords: Review+ added; Review? removed

comment:3 Changed 15 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

Fixed with [3425].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy