API Docs for: 1.0.0
Show:

eZ.AlloyEditorToolbarConfig.Heading Class

This class is deprecated.

Deprecated styles toolbar configuration, use eZ.AlloyEditorToolbarConfig.HeadingConfig constructor instead. 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.

Item Index

Methods

Methods

test

(
  • payload
)
Boolean deprecated

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: