mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
fix: should pass std to AffineEditorContainer (#8678)
To fix [BS-1741](https://linear.app/affine-design/issue/BS-1741/toc-不显示了)
This commit is contained in:
+3
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user