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
Defined in
packages/framework/inline/src/utils/keyboard.ts:35