eZ.AlloyEditorToolbarConfig.Paragraph Class
This class is deprecated.
Deprecated styles
toolbar configuration, use
eZ.AlloyEditorToolbarConfig.ParagraphConfig instead.
styles
toolbar configuration for paragraph. The paragraph
toolbar is
supposed to be shown when the user puts the caret inside a paragraph
element and when the selection is empty.
Methods
test
(
Boolean
-
payload
Tests whether the paragraph
toolbar should be visible. It is
visible when the selection is empty and when the caret is inside a
paragraph.
Parameters:
-
payload
Object-
editor
AlloyEditor.Core -
data
Object-
selectionData
Object -
nativeEvent
Event
-
-
Returns:
Boolean:
test
(
Boolean
deprecated
-
payload
Tests whether the paragraph
toolbar should be visible. It is
visible when the selection is empty and when the caret is inside a
paragraph.
Parameters:
-
payload
Object-
editor
AlloyEditor.Core -
data
Object-
selectionData
Object -
nativeEvent
Event
-
-
Returns:
Boolean: