Opened 8 years ago

Closed 8 years ago

#3430 closed New Feature (fixed)

Provide an easy way to add and remove plugins

Reported by: fredck Owned by: fredck
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 fredck 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by fredck

comment:1 Changed 8 years ago by fredck

  • Keywords Review? added
  • Status changed from new to assigned

comment:2 Changed 8 years ago by garry.yao

  • Keywords Review+ added; Review? removed

comment:3 Changed 8 years ago by fredck

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed with [3425].

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