X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fkeystrokes%2Fplugin.js;h=73de2bb3f427936a742372a11ed7250379dd3a34;hb=039a051ccf3901311661022a30afd60fc38130c9;hp=c0ccb49cdf5258bdcb2a0af338831c03b5568af8;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/plugins/keystrokes/plugin.js b/_source/plugins/keystrokes/plugin.js index c0ccb49..73de2bb 100644 --- a/_source/plugins/keystrokes/plugin.js +++ b/_source/plugins/keystrokes/plugin.js @@ -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,7 +210,8 @@ 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' ] ]; /**