Interface

HeadingCustomElementOption (heading)

@ckeditor/ckeditor5-heading/src/headingconfig

interface

Filtering

Properties

  • class : string

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

  • icon : string | undefined

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

  • model : `heading${ string }`

    Name of the model element to convert.

  • title : string

    The user-readable title of the option.

  • upcastAlso : ArrayOrItem<string | RegExp | MatcherFunctionPattern | MatcherObjectPattern | ElementObjectDefinition> | undefined

    An array with all matched elements that the view-to-model conversion should also accept.

  • view : ElementDefinition

    Definition of a view element to convert from/to.