Keyboard Shortcuts API Overview
The Keyboard Shortcuts API offers drop-in keyboard shortcuts for the editor that can be paired with toolbar buttons, as well as a way to create your own custom keyboard shortcuts.
npm i @portabletext/keyboard-shortcutspnpm add @portabletext/keyboard-shortcutsyarn add @portabletext/keyboard-shortcutsSee the Generated API reference for available keyboard shortcuts (variables) and functions for creating your own.
Customize the toolbar Learn more about building custom toolbars.