mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 23:26:30 +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
|
||||
: edgelessRef.current?.updateComplete;
|
||||
},
|
||||
get mode() {
|
||||
return mode;
|
||||
},
|
||||
};
|
||||
|
||||
const proxy = new Proxy(api, {
|
||||
|
||||
Reference in New Issue
Block a user