diff --git a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx index 3a19799d94..4cf0bb6021 100644 --- a/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx +++ b/packages/frontend/core/src/components/blocksuite/block-suite-editor/blocksuite-editor-container.tsx @@ -98,6 +98,9 @@ export const BlocksuiteEditorContainer = forwardRef< get origin() { return rootRef.current; }, + get std() { + return mode === 'page' ? docRef.current?.std : edgelessRef.current?.std; + }, }; const proxy = new Proxy(api, {