mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-23 21:06:22 +08:00
fix(core): should pass mode to AffineEditorContainer (#6522)
Without mode there will be some features missing in blocksuite
This commit is contained in:
+3
@@ -164,6 +164,9 @@ export const BlocksuiteEditorContainer = forwardRef<
|
|||||||
? docRef.current?.updateComplete
|
? docRef.current?.updateComplete
|
||||||
: edgelessRef.current?.updateComplete;
|
: edgelessRef.current?.updateComplete;
|
||||||
},
|
},
|
||||||
|
get mode() {
|
||||||
|
return mode;
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const proxy = new Proxy(api, {
|
const proxy = new Proxy(api, {
|
||||||
|
|||||||
Reference in New Issue
Block a user