mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
refactor(editor): rename doc to blocks (#9510)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { BlockStdScope, EditorHost } from '@blocksuite/block-std';
|
||||
import type { GfxModel } from '@blocksuite/block-std/gfx';
|
||||
import type { BlockModel, Doc } from '@blocksuite/store';
|
||||
import type { BlockModel, Blocks } from '@blocksuite/store';
|
||||
|
||||
export abstract class MenuContext {
|
||||
abstract get doc(): Doc;
|
||||
abstract get doc(): Blocks;
|
||||
|
||||
get firstElement(): GfxModel | null {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user