Skip to content

BlockSuite API Documentation / @blocksuite/inline / HookContext

Type alias: HookContext<TextAttributes>

HookContext<TextAttributes>: BeforeinputHookCtx<TextAttributes> | CompositionEndHookCtx<TextAttributes>

Type parameters

TextAttributes extends BaseTextAttributes

Source

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