BlockSuite API Documentation / @blocksuite/inline / KeyboardBindingHandler
Type alias: KeyboardBindingHandler ​
KeyboardBindingHandler: (
context
) => typeofKEYBOARD_PREVENT_DEFAULT
| typeofKEYBOARD_ALLOW_DEFAULT
Parameters ​
• context: KeyboardBindingContext
Returns ​
typeof KEYBOARD_PREVENT_DEFAULT
| typeof KEYBOARD_ALLOW_DEFAULT
Source ​
packages/inline/src/utils/keyboard.ts:32
Generated using typedoc-plugin-markdown and TypeDoc