Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.5.3
[ckeditor.git]
/
_source
/
plugins
/
keystrokes
/
plugin.js
diff --git
a/_source/plugins/keystrokes/plugin.js
b/_source/plugins/keystrokes/plugin.js
index
c0ccb49
..
b49a893
100644
(file)
--- a/
_source/plugins/keystrokes/plugin.js
+++ b/
_source/plugins/keystrokes/plugin.js
@@
-1,5
+1,5
@@
/*
\r
/*
\r
-Copyright (c) 2003-2010, 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
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
*/
\r
\r
@@
-28,14
+28,10
@@
CKEDITOR.plugins.add( 'keystrokes',
blockedKeystrokes = editor.keystrokeHandler.blockedKeystrokes;
\r
\r
for ( var i = 0 ; i < keystrokesConfig.length ; i++ )
\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
keystrokes[ keystrokesConfig[i][0] ] = keystrokesConfig[i][1];
\r
- }
\r
\r
for ( i = 0 ; i < blockedConfig.length ; i++ )
\r
\r
for ( i = 0 ; i < blockedConfig.length ; i++ )
\r
- {
\r
blockedKeystrokes[ blockedConfig[i] ] = 1;
\r
blockedKeystrokes[ blockedConfig[i] ] = 1;
\r
- }
\r
}
\r
});
\r
\r
}
\r
});
\r
\r
@@
-214,12
+210,13
@@
CKEDITOR.config.keystrokes =
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
\r
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
\r
\r
[ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
\r
[ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
\r
\r
- [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
\r
+ [ CKEDITOR.ALT + ( CKEDITOR.env.ie || CKEDITOR.env.webkit ? 189 : 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
];
\r
\r
/**
\r
* Fired when any keyboard key (or combination) is pressed into the editing area.
\r
- * @name CKEDITOR#key
\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
* @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