mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
chore(editor): rename std.doc to std.store (#9596)
This commit is contained in:
@@ -50,7 +50,7 @@ export function insertEmbedCard(
|
||||
const index = parent.children.indexOf(block.model);
|
||||
host.doc.addBlock(flavour as never, props, parent, index + 1);
|
||||
} else {
|
||||
const rootId = std.doc.root?.id;
|
||||
const rootId = std.store.root?.id;
|
||||
if (!rootId) return;
|
||||
const edgelessRoot = std.view.getBlock(rootId);
|
||||
if (!edgelessRoot) return;
|
||||
|
||||
Reference in New Issue
Block a user