tinymce.Shortcuts

Contains all logic for handling of keyboard shortcuts.

Examples

editor.shortcuts.add('ctrl+a', function() {});
editor.shortcuts.add('meta+a', function() {}); // "meta" maps to Command on Mac and Ctrl on PC
editor.shortcuts.add('ctrl+alt+a', function() {});
editor.shortcuts.add('access+a', function() {}); // "access" maps to ctrl+alt on Mac and shift+alt on PC

Methods

Method Defined By
Adds a keyboard shortcut for some command or function
tinymce.Shortcuts
Remove a keyboard shortcut by pattern
tinymce.Shortcuts