Skip to content

BlockSuite API Documentation / @blocksuite/inline / HookContext

Type Alias: HookContext<TextAttributes>

HookContext<TextAttributes> = BeforeinputHookCtx<TextAttributes> | CompositionEndHookCtx<TextAttributes>

Defined in: packages/framework/inline/src/services/hook.ts:22

Type Parameters

TextAttributes

TextAttributes extends BaseTextAttributes