HeadingOption (heading)
@ckeditor/ckeditor5-heading/src/heading
Heading option descriptor.
Filtering
Properties
-
class : String
module:heading/heading~HeadingOption#class
The class which will be added to the dropdown item representing this option.
-
converterPriority : PriorityString
module:heading/heading~HeadingOption#converterPriority
inherited
The converter priority.
-
icon : String
module:heading/heading~HeadingOption#icon
Icon used by
HeadingButtonsUI
. It can be omitted when using the default configuration. -
model : String
module:heading/heading~HeadingOption#model
Name of the model element to convert.
-
title : String
module:heading/heading~HeadingOption#title
The user-readable title of the option.
-
upcastAlso : MatcherPattern | Array.<MatcherPattern>
module:heading/heading~HeadingOption#upcastAlso
inherited
Any view element matching
upcastAlso
will also be converted to the model. Ifmodel
describes multiple values,upcastAlso
is an object that assigns these values (upcastAlso
object keys) toMatcherPattern
s (upcastAlso
object values). -
view : ElementDefinition
module:heading/heading~HeadingOption#view
Definition of a view element to convert from/to.
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.