Typedef

AttributeStrategy (list/documentlistproperties)

@ckeditor/ckeditor5-list/src/documentlistproperties/documentlistpropertiesediting

typedef protected
Object

Strategy for dealing with listItem attributes supported by this plugin.

Filtering

Properties

  • addCommand : function

    Registers an editor command.

  • appliesToListItem : function

    Verifies whether the strategy is applicable for the specified model element.

  • attributeName : String

    The model attribute name.

  • defaultValue : *

    The model attribute default value.

  • getAttributeOnUpcast : function

    Retrieves the property value from the view element.

  • hasValidAttribute : function

    Verifies whether the model attribute value is valid.

  • setAttributeOnDowncast : function

    Sets the property on the view element.

  • viewConsumables : Object

    The view consumable as expected by ViewConsumable.