mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
refactor(editor): rename model.doc to store (#12172)
This commit is contained in:
@@ -163,7 +163,10 @@ export class EmbedCardEditModal extends SignalWatcher(
|
||||
|
||||
const std = blockComponent.std;
|
||||
|
||||
this.model.doc.updateBlock(this.model, { title: null, description: null });
|
||||
this.model.store.updateBlock(this.model, {
|
||||
title: null,
|
||||
description: null,
|
||||
});
|
||||
|
||||
this.onReset?.(std, blockComponent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user