/*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
For licensing, see LICENSE.html or http://ckeditor.com/license\r
*/\r
\r
blockedKeystrokes = editor.keystrokeHandler.blockedKeystrokes;\r
\r
for ( var i = 0 ; i < keystrokesConfig.length ; i++ )\r
- {\r
keystrokes[ keystrokesConfig[i][0] ] = keystrokesConfig[i][1];\r
- }\r
\r
for ( i = 0 ; i < blockedConfig.length ; i++ )\r
- {\r
blockedKeystrokes[ blockedConfig[i] ] = 1;\r
- }\r
}\r
});\r
\r
[ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],\r
\r
[ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],\r
+ [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],\r
\r
[ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],\r
[ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],\r
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],\r
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],\r
\r
- [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]\r
+ [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ],\r
+ [ CKEDITOR.ALT + 48 /*0*/, 'a11yHelp' ]\r
];\r
+\r
+/**\r
+ * Fired when any keyboard key (or combination) is pressed into the editing area.\r
+ * @name CKEDITOR.editor#key\r
+ * @event\r
+ * @param {Number} data.keyCode A number representing the key code (or\r
+ * combination). It is the sum of the current key code and the\r
+ * {@link CKEDITOR.CTRL}, {@link CKEDITOR.SHIFT} and {@link CKEDITOR.ALT}\r
+ * constants, if those are pressed.\r
+ */\r