alignment/utils
@ckeditor/ckeditor5-alignment/src/utils
module
Filtering
Constants
-
supportedOptions
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.