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

View File

@@ -82,7 +82,7 @@ describe('group', () => {
});
const group = model.getElementById(groupId) as GroupElementModel;
model.doc.transact(() => {
model.store.transact(() => {
group.children.delete(id);
group.children.delete(id2);
});

View File

@@ -141,7 +141,7 @@ export function cleanup() {
delete (window as any).editor;
delete (window as any).doc;
delete (window as any).store;
}
declare global {