HtmlSupportDataSchemaInlineElementDefinition
A definition of data schema for inline elements.
Properties
-
allowEmpty : boolean | undefined
module:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#allowEmpty
Indicates that an element should be preserved even if it has no content.
-
appliesToBlock : string | boolean | undefined
module:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#appliesToBlock
Indicates that element should not be converted as a model text attribute. It is used to map view elements that do not have a separate model element but their data is stored in a model attribute. For example
<tbody>
element does not have a dedicated model element and GHS stores attributes of<tbody>
in thehtmlTbodyAttributes
model attribute of thetable
model element. -
attributeProperties : ModelAttributeProperties | undefined
module:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#attributeProperties
Additional metadata describing the model attribute.
-
coupledAttribute : string | undefined
module:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#coupledAttribute
The name of the model attribute that generates the same view element. GHS inline attribute will be removed from the model tree as soon as the coupled attribute is removed. See GHS post-fixer for more details.
-
isBlock : boolean | undefined
inheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isBlock
Indicates that the definition describes block element. Set by
registerBlockElement
method. -
isEmpty : boolean | undefined
inheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isEmpty
Indicates that the definition describes an empty HTML element like
<hr>
. -
isInline : boolean | undefined
inheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isInline
Indicates that the definition describes inline element.
-
isObject : boolean | undefined
inheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isObject
Indicates that the definition describes object element.
-
model : string
inheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#model
Name of the model.
-
modelSchema : ModelSchemaItemDefinition | undefined
inheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#modelSchema
The model schema item definition describing registered model.
-
priority : number | undefined
module:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#priority
Element priority. Decides in what order elements are wrapped by
ViewDowncastWriter
. Set byregisterInlineElement
method. -
view : string | undefined
inheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#view
Name of the view element.