ModelAttributeProperties
interface
A structure containing additional metadata describing the attribute.
See Schema#setAttributeProperties() for usage examples.
Properties
-
[name: string] : unknownmodule:engine/model/schema~ModelAttributeProperties#__index[0] -
copyFromObject : boolean | undefinedmodule:engine/model/schema~ModelAttributeProperties#copyFromObjectIndicates that given text attribute should be copied from an inline object to the next inserted inline content.
Defaults to
true -
copyOnEnter : boolean | undefinedmodule:engine/model/schema~ModelAttributeProperties#copyOnEnterIndicates that given text attribute should be copied to the next block when enter is pressed.
-
copyOnReplace : boolean | undefinedmodule:engine/model/schema~ModelAttributeProperties#copyOnReplaceIndicates that given attribute should be preserved while replacing the element.
-
isFormatting : boolean | undefinedmodule: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.