Typedef

HeadingOption (heading)

@ckeditor/ckeditor5-heading/src/heading

typedef
Object

Heading option descriptor.

Filtering

Properties

  • class : String

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

  • converterPriority : PriorityString

    inherited

    The converter priority.

  • icon : String

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

  • model : String

    Name of the model element to convert.

  • title : String

    The user-readable title of the option.

  • upcastAlso : MatcherPattern | Array.<MatcherPattern>

    inherited

    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).

  • view : ElementDefinition

    Definition of a view element to convert from/to.