mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-11 22:18:54 +08:00
chore(editor): rename std.doc to std.store (#9596)
This commit is contained in:
@@ -35,7 +35,7 @@ export class DNDAPIExtension extends Extension {
|
||||
}): SliceSnapshot | null {
|
||||
const { docId, flavour = 'affine:embed-linked-doc', blockId } = options;
|
||||
|
||||
const slice = Slice.fromModels(this.std.doc, []);
|
||||
const slice = Slice.fromModels(this.std.store, []);
|
||||
const job = this.std.getJob();
|
||||
const snapshot = job.sliceToSnapshot(slice);
|
||||
if (!snapshot) {
|
||||
|
||||
Reference in New Issue
Block a user