HeadingElementOption
interface
Properties
class : stringmodule:heading/headingconfig~HeadingElementOption#classThe class which will be added to the dropdown item representing this option.
converterPriority : 'high' | 'normal' | 'low' | undefinedmodule:heading/headingconfig~HeadingElementOption#converterPriorityThe priority with which the converter will be run. Possible values: 'low', 'normal', 'high'.
icon : string | undefinedmodule:heading/headingconfig~HeadingElementOption#iconIcon used by
HeadingButtonsUI. It can be omitted when using the default configuration.model : object | 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6'module:heading/headingconfig~HeadingElementOption#modelName of the model element to convert.
title : stringmodule:heading/headingconfig~HeadingElementOption#titleThe user-readable title of the option.
upcastAlso : ArrayOrItem<string | RegExp | MatcherFunctionPattern | MatcherObjectPattern | ViewElementObjectDefinition> | undefinedmodule:heading/headingconfig~HeadingElementOption#upcastAlsoAn array with all matched elements that the view-to-model conversion should also accept.
module:heading/headingconfig~HeadingElementOption#viewDefinition of a view element to convert from/to.