BlockSuite API Documentation / @blocksuite/inline / createInlineKeyDownHandler
Function: createInlineKeyDownHandler()
createInlineKeyDownHandler(
inlineEditor
,bindings
): (evt
) =>void
Parameters
inlineEditor
InlineEditor
<{ bold
: null
| true
; code
: null
| true
; italic
: null
| true
; link
: null
| string
; strike
: null
| true
; underline
: null
| true
; }>
bindings
Returns
Function
Parameters
evt
KeyboardEvent
Returns
void
Defined in
packages/framework/inline/src/utils/keyboard.ts:39