refactor(editor): rename model.doc to store (#12172)

This commit is contained in:
Saul-Mirone
2025-05-07 09:17:01 +00:00
parent eb62d0e853
commit 95b9e4b3d0
95 changed files with 264 additions and 246 deletions
@@ -27,7 +27,7 @@ export async function getAttachmentBlob(model: AttachmentBlockModel) {
const type = type$.peek();
if (!sourceId) return null;
const doc = model.doc;
const doc = model.store;
const blob = await doc.blobSync.get(sourceId);
if (!blob) return null;