mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-19 23:24:53 +00:00
Imported CKEDITOR 3.0
Monotone-Parent: 5f9c08dd6b5b34d815ddb2108abbf4055e846934 Monotone-Revision: b2cf7eda0ef8f15fb6e78f8c38a7406a47bcdd2f Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-26T14:03:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -147,11 +147,19 @@ CKEDITOR.keystrokeHandler = function( editor )
|
||||
})();
|
||||
|
||||
/**
|
||||
* A list of keystrokes to be blocked if not defined in the {@link #keystrokes}
|
||||
* A list of keystrokes to be blocked if not defined in the {@link CKEDITOR.config.keystrokes}
|
||||
* setting. In this way it is possible to block the default browser behavior
|
||||
* for those keystrokes.
|
||||
* @type Array
|
||||
* @default (see example)
|
||||
* @example
|
||||
* // This is actually the default value.
|
||||
* config.blockedKeystrokes =
|
||||
* [
|
||||
* CKEDITOR.CTRL + 66 /*B*/,
|
||||
* CKEDITOR.CTRL + 73 /*I*/,
|
||||
* CKEDITOR.CTRL + 85 /*U*/
|
||||
* ];
|
||||
*/
|
||||
CKEDITOR.config.blockedKeystrokes =
|
||||
[
|
||||
@@ -163,9 +171,30 @@ CKEDITOR.config.blockedKeystrokes =
|
||||
/**
|
||||
* A list associating keystrokes to editor commands. Each element in the list
|
||||
* is an array where the first item is the keystroke, and the second is the
|
||||
* command to be executed.
|
||||
* name of the command to be executed.
|
||||
* @type Array
|
||||
* @default (see example)
|
||||
* @example
|
||||
* // This is actually the default value.
|
||||
* config.keystrokes =
|
||||
* [
|
||||
* [ CKEDITOR.ALT + 121 /*F10*/, 'toolbarFocus' ],
|
||||
* [ CKEDITOR.ALT + 122 /*F11*/, 'elementsPathFocus' ],
|
||||
*
|
||||
* [ CKEDITOR.SHIFT + 121 /*F10*/, 'contextMenu' ],
|
||||
*
|
||||
* [ CKEDITOR.CTRL + 90 /*Z*/, 'undo' ],
|
||||
* [ CKEDITOR.CTRL + 89 /*Y*/, 'redo' ],
|
||||
* [ CKEDITOR.CTRL + CKEDITOR.SHIFT + 90 /*Z*/, 'redo' ],
|
||||
*
|
||||
* [ CKEDITOR.CTRL + 76 /*L*/, 'link' ],
|
||||
*
|
||||
* [ CKEDITOR.CTRL + 66 /*B*/, 'bold' ],
|
||||
* [ CKEDITOR.CTRL + 73 /*I*/, 'italic' ],
|
||||
* [ CKEDITOR.CTRL + 85 /*U*/, 'underline' ],
|
||||
*
|
||||
* [ CKEDITOR.ALT + 109 /*-*/, 'toolbarCollapse' ]
|
||||
* ];
|
||||
*/
|
||||
CKEDITOR.config.keystrokes =
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user