mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 16:16:46 +08:00
feat: add exportWorkspaceYDoc (#942)
This commit is contained in:
@@ -74,4 +74,11 @@ export class WorkspaceUnit {
|
||||
syncMode: this.syncMode,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* @internal only for debug use
|
||||
*/
|
||||
exportWorkspaceYDoc(): void {
|
||||
this._blocksuiteWorkspace?.exportYDoc();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user