⚠️ WarningNightly documentation ahead. Switch to the stable editor documentation.
Typedef

AttributeStrategy (list/documentlistproperties)

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

Object

Strategy for dealing with listItem attributes supported by this plugin.

Filtering

Properties

  • Registers an editor command.

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

  • The model attribute name.

  • The model attribute default value.

  • Retrieves the property value from the view element.

  • Verifies whether the model attribute value is valid.

  • Sets the property on the view element.

  • The view consumable as expected by ViewConsumable.