mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 04:26:23 +08:00
c28f918527
Part of: [BS-2269](https://linear.app/affine-design/issue/BS-2269/%E8%BF%81%E7%A7%BB-database-block-%E5%88%B0-affine-%E6%96%87%E4%BB%B6%E5%A4%B9%E4%B8%8B%E5%B9%B6%E5%BC%80%E5%90%AF-nouncheckedindexedaccess)
8 lines
220 B
TypeScript
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
|
|
);
|