HeadingElementOption (heading)
@ckeditor/ckeditor5-heading/src/headingconfig
interface
Filtering
Properties
-
class : string
module:heading/headingconfig~HeadingElementOption#class
The class which will be added to the dropdown item representing this option.
-
icon : string | undefined
module:heading/headingconfig~HeadingElementOption#icon
Icon used by
HeadingButtonsUI
. It can be omitted when using the default configuration. -
model : 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6'
module:heading/headingconfig~HeadingElementOption#model
Name of the model element to convert.
-
title : string
module:heading/headingconfig~HeadingElementOption#title
The user-readable title of the option.
-
upcastAlso : ArrayOrItem<string | RegExp | MatcherFunctionPattern | MatcherObjectPattern | ElementObjectDefinition> | undefined
module:heading/headingconfig~HeadingElementOption#upcastAlso
An array with all matched elements that the view-to-model conversion should also accept.
-
view : ElementDefinition
module:heading/headingconfig~HeadingElementOption#view
Definition of a view element to convert from/to.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing? Please report it via our issue tracker.