CKEditor 4 Documentation

CKEDITOR.plugins.widget.nestedEditable.definition

Files

This is an abstract class that describes the definition of a widget's nested editable. It is a type of values in the CKEDITOR.plugins.widget.definition.editables object.

In the simplest case the definition is a string which is a CSS selector used to find an element that will become a nested editable inside the widget. Note that the widget element can be a nested editable, too.

In the more advanced case a definition is an object with a required selector property.

editables: {
    header: 'h1',
    content: {
        selector: 'div.content',
        allowedContent: 'p strong em; a[!href]'
    }
}
Defined By

Properties

CKEDITOR.plugins.widget.nestedEditable.definition
view source
: CKEDITOR.filter.allowedContentRules
The Advanced Content Filter rules which will be used to limit the content allowed in this nested editable. ...

The Advanced Content Filter rules which will be used to limit the content allowed in this nested editable. This option is similar to CKEDITOR.config.allowedContent and one can use it to limit the editor features available in the nested editable.

CKEDITOR.plugins.widget.nestedEditable.definition
view source
: String

Nested editable name displayed in elements path.

Nested editable name displayed in elements path.

CKEDITOR.plugins.widget.nestedEditable.definition
view source
: String

The CSS selector used to find an element which will become a nested editable.

The CSS selector used to find an element which will become a nested editable.