mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor(editor): rename model.doc to store (#12172)
This commit is contained in:
@@ -18,7 +18,7 @@ export function toCode(
|
||||
return;
|
||||
}
|
||||
|
||||
const doc = model.doc;
|
||||
const doc = model.store;
|
||||
const parent = doc.getParent(model);
|
||||
if (!parent) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user