X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fplugins%2Fkeystrokes%2Fplugin.js;h=c0ccb49cdf5258bdcb2a0af338831c03b5568af8;hb=c6e377a02b54abc07129d72b632763c727476a15;hp=d0d8173d330f86470d77182afbee0feabc6c39c9;hpb=8761695d9b70afe75905deaac88f78c1f8aeb32d;p=ckeditor.git diff --git a/_source/plugins/keystrokes/plugin.js b/_source/plugins/keystrokes/plugin.js index d0d8173..c0ccb49 100644 --- a/_source/plugins/keystrokes/plugin.js +++ b/_source/plugins/keystrokes/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -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. + */