Interface

AttributeProperties (engine/model)

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

interface

A structure containing additional metadata describing the attribute.

See Schema#setAttributeProperties() for usage examples.

Filtering

Properties

  • [name: string] : unknown

  • copyFromObject : boolean | undefined

    Indicates that given text attribute should be copied from an inline object to the next inserted inline content.

    Defaults to true

  • copyOnEnter : boolean | undefined

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

  • copyOnReplace : boolean | undefined

    Indicates that given attribute should be preserved while replacing the element.

  • isFormatting : boolean | undefined

    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.