eZ.AlloyEditorToolbarConfig.HeadingConfig Class
styles
toolbar configuration for heading. The heading
toolbar is
supposed to be shown when the user puts the caret inside an heading
element and when the selection is empty.
Constructor
eZ.AlloyEditorToolbarConfig.HeadingConfig
()
Item Index
Methods
Methods
test
(
Boolean
-
payload
Tests whether the heading
toolbar should be visible. It is visible
when the selection is empty and when the caret is inside a heading.
Parameters:
-
payload
Object-
editor
AlloyEditor.Core -
data
Object-
selectionData
Object -
nativeEvent
Event
-
-
Returns:
Boolean: