CKEDITOR.keystrokeHandler
class
Controls keystrokes typing in an editor instance.
Filtering
Properties
blockedKeystrokes : ObjectCKEDITOR.keystrokeHandler#blockedKeystrokesA 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 : ObjectCKEDITOR.keystrokeHandler#keystrokesA 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 ) → keystrokeHandlerCKEDITOR.keystrokeHandler#constructorCreates a keystrokeHandler class instance.
Parameters
editor : editorThe editor instance.
Returns
keystrokeHandler
attach( domObject )CKEDITOR.keystrokeHandler#attachAttaches this keystroke handle to a DOM object. Keystrokes typed over this object will be handled by this keystrokeHandler.
Parameters
domObject : domObjectThe DOM object to attach to.