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