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

HeadingOption (heading)

@ckeditor/ckeditor5-heading/src/heading

Object

Heading option descriptor.

Filtering

Properties

  • The class which will be added to the dropdown item representing this option.

  • The converter priority.

  • Icon used by HeadingButtonsUI. It can be omitted when using the default configuration.

  • Name of the model element to convert.

  • The user-readable title of the option.

  • Any view element matching upcastAlso will also be converted to the model. If model describes multiple values, upcastAlso is an object that assigns these values (upcastAlso object keys) to MatcherPatterns (upcastAlso object values).

  • Definition of a view element to convert from/to.