1.5.3 multi-selection line edit

This commit is contained in:
Zsolt Viczian
2021-12-13 18:27:26 +01:00
parent bd6f9b7a1d
commit a844244450
3 changed files with 8 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "obsidian-excalidraw-plugin",
"name": "Excalidraw",
"version": "1.5.2",
"version": "1.5.3",
"minAppVersion": "0.12.16",
"description": "An Obsidian plugin to edit and view Excalidraw drawings",
"author": "Zsolt Viczian",

View File

@@ -1271,6 +1271,7 @@ export default class ExcalidrawPlugin extends Plugin {
private registerEventListeners() {
const self = this;
this.app.workspace.onLayoutReady(async () => {
//watch filename change to rename .svg, .png; to sync to .md; to update links
const renameEventHandler = async (
file: TAbstractFile,
@@ -1416,6 +1417,7 @@ export default class ExcalidrawPlugin extends Plugin {
} //refresh embedded files
}
//https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/300
if(self.popScope) {
self.popScope();
@@ -1432,7 +1434,6 @@ export default class ExcalidrawPlugin extends Plugin {
self.app.keymap.popScope(scope)
};
}
};
self.registerEvent(
self.app.workspace.on(
@@ -1445,6 +1446,10 @@ export default class ExcalidrawPlugin extends Plugin {
onunload() {
destroyExcalidrawAutomate();
if(this.popScope) {
this.popScope();
this.popScope = null;
}
this.observer.disconnect();
this.themeObserver.disconnect();
if (this.fileExplorerObserver) {

View File

@@ -1,4 +1,4 @@
{
"1.5.2": "0.12.16",
"1.5.3": "0.12.16",
"1.4.2": "0.11.13"
}