Report an issue


class abstract

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]'