Files
AFFiNE-Mirror/blocksuite/affine/block-database/src/context/host-context.ts
T

8 lines
220 B
TypeScript

import type { EditorHost } from '@blocksuite/block-std';
import { createContextKey } from '@blocksuite/data-view';
export const HostContextKey = createContextKey<EditorHost | undefined>(
'editor-host',
undefined
);