The ui shortcuts property turns editor content keyboard shortcuts on or off. Content keyboard shortcuts include any keyboard shortcut that directly affects the contents of the editor (eg: indending, marking bold text, etc).
This property is true by default. When set to false, most of the editor keyboard shortcuts will be disabled. The following shortcuts are not affected by this:
- focus toolbar
- open context menu
Use of this property does not alter the toolbar, it just deactivates the keyboard shortcuts.
In this example, a simple
configuration object is created that disables editor content keyboard shortcuts.