API Docs for: 1.0.0
Show:

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.

Item Index

Methods

Methods

test

(
  • payload
)
Boolean

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

(
  • payload
)
Boolean deprecated

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: