mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-06 00:41:39 +08:00
chore(editor): rename std.doc to std.store (#9596)
This commit is contained in:
@@ -51,7 +51,7 @@ export const getSelectedBlocksCommand: Command<
|
||||
const blockSelections = ctx.blockSelections ?? ctx.currentBlockSelections;
|
||||
if (types.includes('block') && blockSelections) {
|
||||
const viewStore = ctx.std.view;
|
||||
const doc = ctx.std.doc;
|
||||
const doc = ctx.std.store;
|
||||
const selectedBlockComponents = blockSelections.flatMap(selection => {
|
||||
const el = viewStore.getBlock(selection.blockId);
|
||||
if (!el) {
|
||||
|
||||
Reference in New Issue
Block a user