ModelAttributeProperties
interface
A structure containing additional metadata describing the attribute.
See Schema#setAttributeProperties()
for usage examples.
Properties
-
[name: string] : unknown
module:engine/model/schema~ModelAttributeProperties#__index[0]
-
copyFromObject : boolean | undefined
module:engine/model/schema~ModelAttributeProperties#copyFromObject
Indicates that given text attribute should be copied from an inline object to the next inserted inline content.
Defaults to
true
-
copyOnEnter : boolean | undefined
module:engine/model/schema~ModelAttributeProperties#copyOnEnter
Indicates that given text attribute should be copied to the next block when enter is pressed.
-
copyOnReplace : boolean | undefined
module:engine/model/schema~ModelAttributeProperties#copyOnReplace
Indicates that given attribute should be preserved while replacing the element.
-
isFormatting : boolean | undefined
module:engine/model/schema~ModelAttributeProperties#isFormatting
Indicates that the attribute should be considered as a visual formatting, like
bold
,italic
orfontSize
rather than semantic attribute (such assrc
,listType
, etc.). For example, it is used by the "Remove format" feature.