mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
1.5.3 multi-selection line edit
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"1.5.2": "0.12.16",
|
||||
"1.5.3": "0.12.16",
|
||||
"1.4.2": "0.11.13"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user