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
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#addCommand
Registers an editor command.
-
appliesToListItem : function
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#appliesToListItem
Verifies whether the strategy is applicable for the specified model element.
-
attributeName : String
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#attributeName
The model attribute name.
-
defaultValue : *
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#defaultValue
The model attribute default value.
-
getAttributeOnUpcast : function
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#getAttributeOnUpcast
Retrieves the property value from the view element.
-
hasValidAttribute : function
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#hasValidAttribute
Verifies whether the model attribute value is valid.
-
setAttributeOnDowncast : function
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#setAttributeOnDowncast
Sets the property on the view element.
-
viewConsumables : Object
module:list/documentlistproperties/documentlistpropertiesediting~AttributeStrategy#viewConsumables
The view consumable as expected by
ViewConsumable
.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.