Interface

HeadingElementOption (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 : object | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6'

    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.