HtmlSupportDataSchemaInlineElementDefinition
A definition of data schema for inline elements.
Properties
allowEmpty : boolean | undefinedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#allowEmptyIndicates that an element should be preserved even if it has no content.
appliesToBlock : string | boolean | undefinedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#appliesToBlockIndicates 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 thehtmlTbodyAttributesmodel attribute of thetablemodel element.attributeProperties : ModelAttributeProperties | undefinedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#attributePropertiesAdditional metadata describing the model attribute.
coupledAttribute : string | undefinedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#coupledAttributeThe 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 | undefinedinheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isBlockIndicates that the definition describes block element. Set by
registerBlockElementmethod.isEmpty : boolean | undefinedinheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isEmptyIndicates that the definition describes an empty HTML element like
<hr>.isInline : boolean | undefinedinheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isInlineIndicates that the definition describes inline element.
isObject : boolean | undefinedinheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#isObjectIndicates that the definition describes object element.
model : stringinheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#modelName of the model.
modelSchema : ModelSchemaItemDefinition | undefinedinheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#modelSchemaThe model schema item definition describing registered model.
priority : number | undefinedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#priorityElement priority. Decides in what order elements are wrapped by
ViewDowncastWriter. Set byregisterInlineElementmethod.view : string | undefinedinheritedmodule:html-support/dataschema~HtmlSupportDataSchemaInlineElementDefinition#viewName of the view element.