Ticket #3430 (closed New Feature: fixed)

Opened 6 years ago

Last modified 6 years ago

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.


3430.patch (2.7 KB) - added by fredck 6 years ago.

Change History

Changed 6 years ago by fredck

comment:1 Changed 6 years ago by fredck

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

comment:2 Changed 6 years ago by garry.yao

  • Keywords Review+ added; Review? removed

comment:3 Changed 6 years ago by fredck

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

Fixed with [3425].

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