Sign up (with export icon)

HtmlSupportDataSchemaInlineElementDefinition

Api-interface icon interface

A definition of data schema for inline elements.

Properties

  • Chevron-right icon

    allowEmpty : boolean | undefined

    Indicates that an element should be preserved even if it has no content.

  • Chevron-right icon

    appliesToBlock : string | boolean | undefined

    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 the htmlTbodyAttributes model attribute of the table model element.

  • Chevron-right icon

    Additional metadata describing the model attribute.

  • Chevron-right icon

    coupledAttribute : string | undefined

    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.

  • Chevron-right icon

    isBlock : boolean | undefined
    inherited

    Indicates that the definition describes block element. Set by registerBlockElement method.

  • Chevron-right icon

    isEmpty : boolean | undefined
    inherited

    Indicates that the definition describes an empty HTML element like <hr>.

  • Chevron-right icon

    isInline : boolean | undefined
    inherited

    Indicates that the definition describes inline element.

  • Chevron-right icon

    isObject : boolean | undefined
    inherited

    Indicates that the definition describes object element.

  • Chevron-right icon

    model : string
    inherited

  • Chevron-right icon

    modelSchema : ModelSchemaItemDefinition | undefined
    inherited

    The model schema item definition describing registered model.

  • Chevron-right icon

    priority : number | undefined

    Element priority. Decides in what order elements are wrapped by ViewDowncastWriter. Set by registerInlineElement method.

  • Chevron-right icon

    view : string | undefined
    inherited

    Name of the view element.