CKEDITOR.keystrokeHandler
class
Controls keystrokes typing in an editor instance.
Filtering
Properties
-
blockedKeystrokes : Object
CKEDITOR.keystrokeHandler#blockedKeystrokes
A list of keystrokes that should be blocked if not defined in keystrokes. In this way it is possible to block the default browser behavior for those keystrokes.
Defaults to
{}
-
keystrokes : Object
CKEDITOR.keystrokeHandler#keystrokes
A list of keystrokes associated with commands. Each entry points to the command to be executed.
Since CKEditor 4 there is no need to modify this property directly during the runtime. Use CKEDITOR.editor.setKeystroke instead.
Defaults to
{}
Methods
-
constructor( editor ) → keystrokeHandler
CKEDITOR.keystrokeHandler#constructor
Creates a keystrokeHandler class instance.
Parameters
editor : editor
The editor instance.
Returns
keystrokeHandler
-
attach( domObject )
CKEDITOR.keystrokeHandler#attach
Attaches this keystroke handle to a DOM object. Keystrokes typed over this object will be handled by this keystrokeHandler.
Parameters
domObject : domObject
The DOM object to attach to.