feat(core): doc level awareness (#10646)

This commit is contained in:
EYHN
2025-03-06 06:05:45 +00:00
parent 2b30d756e2
commit 5c8b81581c
14 changed files with 65 additions and 79 deletions

View File

@@ -50,7 +50,7 @@ const useLoadDoc = (pageId: string) => {
if (doc && isInTrash) {
doc.blockSuiteDoc.readonly = true;
}
}, [currentWorkspace.docCollection.awarenessStore, doc, isInTrash]);
}, [doc, isInTrash]);
return {
doc,