X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fkeystrokes%2Fplugin.js;h=5c969d6bd6eedc4526a8a19088c118cea24d537c;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hp=c0ccb49cdf5258bdcb2a0af338831c03b5568af8;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/plugins/keystrokes/plugin.js b/_source/plugins/keystrokes/plugin.js index c0ccb49..5c969d6 100644 --- a/_source/plugins/keystrokes/plugin.js +++ b/_source/plugins/keystrokes/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -28,14 +28,10 @@ CKEDITOR.plugins.add( 'keystrokes', blockedKeystrokes = editor.keystrokeHandler.blockedKeystrokes; for ( var i = 0 ; i < keystrokesConfig.length ; i++ ) - { keystrokes[ keystrokesConfig[i][0] ] = keystrokesConfig[i][1]; - } for ( i = 0 ; i < blockedConfig.length ; i++ ) - { blockedKeystrokes[ blockedConfig[i] ] = 1; - } } }); @@ -214,12 +210,13 @@ 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 + * @name CKEDITOR.editor#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