feat: add exportWorkspaceYDoc (#942)

This commit is contained in:
Himself65 authored and GitHub committed 2023-02-10 12:01:10 +08:00
1 parent 7bd69809e9
commit 26c308147c
1 file changed
+7
@@ -74,4 +74,11 @@ export class WorkspaceUnit {
syncMode: this.syncMode, syncMode: this.syncMode,
}; };
} }
/**
* @internal only for debug use
*/
exportWorkspaceYDoc(): void {
this._blocksuiteWorkspace?.exportYDoc();
}
} }