alignment/utils
@ckeditor/ckeditor5-alignment/src/utils
module
Filtering
Constants
-
supportedOptions : ReadonlyArray<SupportedOption>
module:alignment/utils#supportedOptions
Functions
-
isDefault( alignment, locale ) → boolean
module:alignment/utils~isDefault
Checks whether alignment is the default one considering the direction of the editor content.
Parameters
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
-
normalizeAlignmentOptions( configuredOptions ) → Array<AlignmentFormat>
module:alignment/utils~normalizeAlignmentOptions
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.