mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-01 01:29:31 +08:00
docs(editor): improve documentation for store class (#10949)
This commit is contained in:
@@ -11,9 +11,9 @@ export const linked: InitFn = (collection: Workspace, id: string) => {
|
||||
const docCId = 'doc:linked-edgeless';
|
||||
const docC = collection.createDoc({ id: docCId });
|
||||
|
||||
docA.clear();
|
||||
docB.clear();
|
||||
docC.clear();
|
||||
docA.doc.clear();
|
||||
docB.doc.clear();
|
||||
docC.doc.clear();
|
||||
|
||||
docB.load(() => {
|
||||
const rootId = docB.addBlock('affine:page', {
|
||||
|
||||
Reference in New Issue
Block a user