Namespace

priorities (utils)

@ckeditor/ckeditor5-utils/src/priorities

namespace

Provides group of constants to use instead of hardcoding numeric priority values.

Filtering

Functions

  • static

    get( priority ) → Number

    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.