Typedef

AttributeProperties (engine/model)

@ckeditor/ckeditor5-engine/src/model/schema

typedef
Object

A structure containing additional metadata describing the attribute.

See Schema#setAttributeProperties() for usage examples.

Filtering

Properties

  • copyOnEnter : Boolean

    Indicates that given text attribute should be copied to the next block when enter is pressed.

  • isFormatting : Boolean

    Indicates that the attribute should be considered as a visual formatting, like bold, italic or fontSize rather than semantic attribute (such as src, listType, etc.). For example, it is used by the "Remove format" feature.