Sign up (with export icon)

ModelAttributeProperties

Api-interface icon interface

A structure containing additional metadata describing the attribute.

See Schema#setAttributeProperties() for usage examples.

Properties

  • [name: string] : unknown

  • Chevron-right icon

    copyFromObject : boolean | undefined

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

    Defaults to true

  • Chevron-right icon

    copyOnEnter : boolean | undefined

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

  • Chevron-right icon

    copyOnReplace : boolean | undefined

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

  • Chevron-right icon

    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.