JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.2
[ckeditor.git] / _source / plugins / keystrokes / plugin.js
index d0d8173..73c0085 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -214,5 +214,16 @@ CKEDITOR.config.keystrokes =
        [ 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#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