ui/toolbar/normalizetoolbarconfig
@ckeditor/ckeditor5-ui/src/toolbar/normalizetoolbarconfig
module
Filtering
Functions
-
normalizeToolbarConfig( config ) → Object
Normalizes the toolbar configuration (
config.toolbar
), which:-
may be defined as an
Array
: -
or an
Object
: -
or may not be defined at all (
undefined
)
and returns it in the object form.
Parameters
config : Array | Object | undefined
The value of
config.toolbar
.
Returns
Object
A normalized toolbar config object.
-
Every day, we work hard to keep our documentation complete. Have you spotted an outdated information? Is something missing? Please report it via our issue tracker.