⚠️ WarningNightly documentation ahead. Switch to the stable editor documentation.
Typedef

DataSchemaBlockElementDefinition (html-support)

@ckeditor/ckeditor5-html-support/src/dataschema

Object

A definition of data schema for block elements.

Filtering

Properties

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

  • Indicates that the definition describes object element.

  • Name of the model.

  • The model schema item definition describing registered model.

  • Should be used when an element can behave both as a sectioning element (e.g. article) and element accepting only inline content (e.g. paragraph). If an element contains only inline content, this option will be used as a model name.

  • Name of the view element.