Constants
-
The list of supported alignment options:
'left'
,
'right'
,
'center'
,
'justify'
Functions
-
isDefault( alignment, locale ) → boolean
module:alignment/utils~isDefault
Checks whether alignment is the default one considering the direction
of the editor content.
Parameters
alignment
:
string
The name of the alignment to check.
locale
:
Locale
The locale
instance.
Returns
boolean
-
-
isSupported( option ) → boolean
module:alignment/utils~isSupported
Checks whether the passed option is supported by AlignmentEditing
.
Parameters
option
:
string
The option value to check.
Returns
boolean
-
-
Brings the configuration to the common form, an array of objects.
Parameters
configuredOptions
:
Array<string | AlignmentFormat>
Alignment plugin configuration.
Returns
Array<AlignmentFormat>
Normalized object holding the configuration.
Every day, we work hard to keep our documentation complete. Have you spotted outdated information? Is something missing?
Please report it via our issue tracker.
With the release of version 42.0.0, we have rewritten much of our documentation to reflect the new import paths and features.
We appreciate your feedback to help us ensure its accuracy and completeness.