Class: Model

Drupal.ckeditor.Model()

new Model()

Backbone model for the CKEditor toolbar configuration state.

Source:

Extends

  • Backbone.Model

Members

$textarea

The textarea that contains the serialized representation of the active CKEditor configuration.

Source:

activeEditorConfig

The CKEditor configuration that is being manipulated through the UI.

Source:

buttonsToFeatures

A hash that maps buttons to features.

Source:

defaults :object

Default values.

Type:
  • object
Source:

featuresMetadata

A hash, keyed by a feature name, that details CKEditor plugin features.

Source:

groupNamesVisible

Whether the button group names are currently visible.

Source:

hiddenEditorConfig

The configuration for the hidden CKEditor instance that is used to build the features metadata.

Source:

isDirty

Tracks whether the active toolbar DOM structure has been changed. When true, activeEditorConfig needs to be updated, and when that is updated, $textarea will also be updated.

Source:

Methods

sync()

Source: