Skip to content

BlockSuite API Documentation / @blocksuite/inline / createInlineKeyDownHandler

Function: createInlineKeyDownHandler()

createInlineKeyDownHandler(inlineEditor, bindings): (evt) => void

Parameters

inlineEditor: InlineEditor<object>

bindings: KeyboardBindingRecord

Returns

Function

Parameters

evt: KeyboardEvent

Returns

void

Source

packages/framework/inline/src/utils/keyboard.ts:39