DataSchemaInlineElementDefinition (html-support)
@ckeditor/ckeditor5-html-support/src/dataschema
A definition of data schema for inline elements.
Filtering
Properties
-
allowEmpty : boolean | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#allowEmpty
Indicates that an element should be preserved even if it has no content.
-
appliesToBlock : string | boolean | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#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 : AttributeProperties | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#attributeProperties
Additional metadata describing the model attribute.
-
coupledAttribute : string | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#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.
-
inherited
isBlock : boolean | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#isBlock
Indicates that the definition describes block element. Set by
registerBlockElement
method. -
inherited
isInline : boolean | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#isInline
Indicates that the definition describes inline element.
-
inherited
isObject : boolean | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#isObject
Indicates that the definition describes object element.
-
Name of the model.
-
inherited
modelSchema : SchemaItemDefinition | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#modelSchema
The model schema item definition describing registered model.
-
priority : number | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#priority
Element priority. Decides in what order elements are wrapped by
DowncastWriter
. Set byregisterInlineElement
method. -
inherited
view : string | undefined
module:html-support/dataschema~DataSchemaInlineElementDefinition#view
Name of the view element.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features. We appreciate your feedback to help us ensure its accuracy and completeness.