HeadingElementOption
interface
Properties
-
class : string
module:heading/headingconfig~HeadingElementOption#class
The class which will be added to the dropdown item representing this option.
-
converterPriority : 'high' | 'normal' | 'low' | undefined
module:heading/headingconfig~HeadingElementOption#converterPriority
The priority with which the converter will be run. Possible values: 'low', 'normal', 'high'.
-
icon : string | undefined
module:heading/headingconfig~HeadingElementOption#icon
Icon used by
HeadingButtonsUI
. It can be omitted when using the default configuration. -
model : object | '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 | ViewElementObjectDefinition> | undefined
module:heading/headingconfig~HeadingElementOption#upcastAlso
An array with all matched elements that the view-to-model conversion should also accept.
-
module:heading/headingconfig~HeadingElementOption#view
Definition of a view element to convert from/to.