X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fkeystrokes%2Fplugin.js;h=c0ccb49cdf5258bdcb2a0af338831c03b5568af8;hp=8d1ef4754997352a154b40e4b314c6a72d66278e;hb=c6e377a02b54abc07129d72b632763c727476a15;hpb=941b0a9ba4e673e292510d80a5a86806994b8ea6 diff --git a/_source/plugins/keystrokes/plugin.js b/_source/plugins/keystrokes/plugin.js index 8d1ef47..c0ccb49 100644 --- a/_source/plugins/keystrokes/plugin.js +++ b/_source/plugins/keystrokes/plugin.js @@ -216,3 +216,13 @@ CKEDITOR.config.keystrokes = [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ] ]; + +/** + * Fired when any keyboard key (or combination) is pressed into the editing area. + * @name CKEDITOR#key + * @event + * @param {Number} data.keyCode A number representing the key code (or + * combination). It is the sum of the current key code and the + * {@link CKEDITOR.CTRL}, {@link CKEDITOR.SHIFT} and {@link CKEDITOR.ALT} + * constants, if those are pressed. + */