new Model()
Backbone model for the CKEditor toolbar configuration state.
Extends
- Backbone.Model
Members
$textarea
The textarea that contains the serialized representation of the active CKEditor configuration.
activeEditorConfig
The CKEditor configuration that is being manipulated through the UI.
buttonsToFeatures
A hash that maps buttons to features.
defaults :object
Default values.
Type:
- object
featuresMetadata
A hash, keyed by a feature name, that details CKEditor plugin features.
groupNamesVisible
Whether the button group names are currently visible.
hiddenEditorConfig
The configuration for the hidden CKEditor instance that is used to build the features metadata.
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.