priorities (utils)
@ckeditor/ckeditor5-utils/src/priorities
namespace
Provides group of constants to use instead of hardcoding numeric priority values.
Filtering
Functions
-
get( priority ) → Number
static
Converts a string with priority name to it's numeric value. If
Number
is given, it just returns it.Parameters
priority : PriorityString | Number
Priority to convert.
Returns
Number
Converted priority.
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.