docs(editor): improve documentation for store class (#10949)

This commit is contained in:
Saul-Mirone
2025-03-18 07:57:58 +00:00
parent 99370573c8
commit ef00a158fc
10 changed files with 894 additions and 313 deletions

View File

@@ -20,9 +20,9 @@ export const synced: InitFn = (collection: Workspace, id: string) => {
const docSyncedEdgelessId = 'doc:synced-edgeless';
const docSyncedEdgeless = collection.createDoc({ id: docSyncedEdgelessId });
docMain.clear();
docSyncedPage.clear();
docSyncedEdgeless.clear();
docMain.doc.clear();
docSyncedPage.doc.clear();
docSyncedEdgeless.doc.clear();
docSyncedPage.load(() => {
// Add root block and surface block at root level