mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
fix(core): should pass mode to AffineEditorContainer (#6522)
Without mode there will be some features missing in blocksuite
This commit is contained in:
@@ -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