Provide additional format appliers for each format type
Overrides the default content model formats for specific HTML tags.
This property allows you to specify custom formats for both segment and block-level content models for specific tags. The key is the tag name (e.g., 'div', 'span'), and the value is an object containing both segment and block format overrides.
Example:
defaultContentModelFormatOverride: {
div: {
fontSize: '16px',
textAlign: 'center',
backgroundColor: 'lightblue',
},
span: {
fontWeight: 'bold',
color: 'red',
},
}
Overrides default format appliers
When set to true, selection from content model will not be applied
Overrides default metadata appliers
Overrides default model handlers
Generated using TypeDoc
Options for creating ModelToDomContext