X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fkeystrokes%2Fplugin.js;h=73c00857f6eacc27b830608612cb78630297c14d;hb=059b4c2fef02528bf1af189f7996e80652faddfb;hp=d0d8173d330f86470d77182afbee0feabc6c39c9;hpb=8761695d9b70afe75905deaac88f78c1f8aeb32d;p=ckeditor.git diff --git a/_source/plugins/keystrokes/plugin.js b/_source/plugins/keystrokes/plugin.js index d0d8173..73c0085 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 */ @@ -214,5 +214,16 @@ CKEDITOR.config.keystrokes = [ CKEDITOR.CTRL + 73 /*I*/, 'italic' ], [ CKEDITOR.CTRL + 85 /*U*/, 'underline' ], - [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ] + [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ], + [ CKEDITOR.ALT + 48 /*0*/, 'a11yHelp' ] ]; + +/** + * 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. + */