ModelAttributeProperties
A structure containing additional metadata describing the attribute.
See Schema#setAttributeProperties() for usage examples.
Properties
[name: string]: unknownmodule:engine/model/schema~ModelAttributeProperties#__index[0]module:engine/model/schema~ModelAttributeProperties#blockAlignmentDefines the mapping of all possible block alignments for a specific model element. It is used by features that need to determine whether an element can be aligned, and apply the alignment if possible.
copyFromObject?: booleanmodule:engine/model/schema~ModelAttributeProperties#copyFromObjectIndicates that given text attribute should be copied from an inline object to the next inserted inline content.
Defaults to
truecopyOnEnter?: booleanmodule:engine/model/schema~ModelAttributeProperties#copyOnEnterIndicates that given text attribute should be copied to the next block when enter is pressed.
copyOnReplace?: booleanmodule:engine/model/schema~ModelAttributeProperties#copyOnReplaceIndicates that given attribute should be preserved while replacing the element.
isFormatting?: booleanmodule:engine/model/schema~ModelAttributeProperties#isFormattingIndicates that the attribute should be considered as a visual formatting, like
bold,italicorfontSizerather than semantic attribute (such assrc,listType, etc.). For example, it is used by the "Remove format" feature.