Report an issue
Module

alignment/utils

@ckeditor/ckeditor5-alignment/src/utils

module

Filtering

Constants

  • The list of supported alignment options:

    • 'left',
    • 'right',
    • 'center',
    • 'justify'

Functions

  • isDefault( alignment ) → Boolean

    static

    Checks whether alignment is the default one.

    Parameters

    alignment : String

    The name of the alignment to check.

    Returns

    Boolean
  • isSupported( option ) → Boolean

    static

    Checks whether the passed option is supported by AlignmentEditing.

    Parameters

    option : String

    The option value to check.

    Returns

    Boolean