diff --git a/main.js b/main.js index 8fa818c0..4b84957a 100644 --- a/main.js +++ b/main.js @@ -35392,6 +35392,13 @@ class BCPlugin extends obsidian.Plugin { }, }); } + this.addCommand({ + id: "open-vis-modal", + name: "Open Visualisation Modal", + callback: async () => { + new VisModal(this.app, this).open(); + }, + }); this.addCommand({ id: "Refresh-Breadcrumbs-Index", name: "Refresh Breadcrumbs Index", diff --git a/src/main.ts b/src/main.ts index 7c4a2803..21d741e8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -172,6 +172,14 @@ export default class BCPlugin extends Plugin { }); } + this.addCommand({ + id: "open-vis-modal", + name: "Open Visualisation Modal", + callback: async () => { + new VisModal(this.app, this).open(); + }, + }); + this.addCommand({ id: "Refresh-Breadcrumbs-Index", name: "Refresh Breadcrumbs Index",