pre-2.2.8

This commit is contained in:
zsviczian
2024-07-04 20:15:33 +02:00
parent 325bfd825f
commit 4a430f5fe7
43 changed files with 2477 additions and 1729 deletions

View File

@@ -189,6 +189,7 @@ export class UniversalInsertFileModal extends Modal {
`[[${path}${sectionPicker.selectEl.value}]]`,
)]
);
ea.destroy();
this.close();
})
actionIFrame = button;
@@ -220,6 +221,7 @@ export class UniversalInsertFileModal extends Modal {
ea.isExcalidrawFile(file) ? !anchorTo100 : undefined,
)]
);
ea.destroy();
this.close();
})
actionImage = button;
@@ -271,5 +273,8 @@ export class UniversalInsertFileModal extends Modal {
onClose(): void {
this.view.ownerWindow.removeEventListener("keydown", this.onKeyDown);
this.view = null;
this.file = null;
this.plugin = null;
}
}