mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-23 13:29:02 +08:00
refactor(editor): rename model.doc to store (#12172)
This commit is contained in:
@@ -438,7 +438,7 @@ export class ExportManager {
|
||||
if (matchModels(block, [ImageBlockModel])) {
|
||||
if (!block.props.sourceId) return;
|
||||
|
||||
const blob = await block.doc.blobSync.get(block.props.sourceId);
|
||||
const blob = await block.store.blobSync.get(block.props.sourceId);
|
||||
if (!blob) return;
|
||||
|
||||
const blobToImage = (blob: Blob) =>
|
||||
|
||||
Reference in New Issue
Block a user