CKEditor Panel Button

Categories

Component ID

2698757

Component name

CKEditor Panel Button

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

38258

Component created

Component changed

Component body

Adds in the Panel Button plugin for CKEditor.

This is required by plugins that need panel button to work, like Color Button.

Other plugins can leverage panel button by adding this in their plugin definition:

class YourButtonPlugin extends CKEditorPluginBase implements CKEditorPluginConfigurableInterface {
  /**
   * {@inheritdoc}
   */
  public function getDependencies(Editor $editor) {
    return ['panelbutton'];
  }

  // more code...

Installation

  1. Download the plugin from http://ckeditor.com/addon/panelbutton at least version 4.5.6.
  2. Place the plugin in the root libraries folder (/libraries).
  3. Enable Panel Button module in the Drupal admin.