Interface

KeystrokeHandlerOptions (utils)

@ckeditor/ckeditor5-utils/src/keystrokehandler

interface

set method options.

Filtering

Properties

  • readonly

    filter : ( KeyboardEvent ) => boolean | undefined

    An optional callback function allowing for filtering keystrokes based on arbitrary criteria. The callback function receives keydown DOM event as a parameter.

  • readonly

    priority : PriorityString | undefined

    The priority of the keystroke callback. The higher the priority value the sooner the callback will be executed. Keystrokes having the same priority are called in the order they were added.