From b28fc388490fa0bdd1b96a0a00176780ffb58d59 Mon Sep 17 00:00:00 2001 From: tolvitty Date: Fri, 13 Feb 2026 13:29:33 +0100 Subject: [PATCH] fix: add missing open-settings command Co-Authored-By: Claude Opus 4.6 --- src/main.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main.ts b/src/main.ts index acfa564..aac7cd3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -43,6 +43,15 @@ export default class FormfirePlugin extends Plugin { callback: () => this.activateSidebar(), }); + this.addCommand({ + id: 'open-settings', + name: 'Open settings', + callback: () => { + (this.app as any).setting.open(); + (this.app as any).setting.openTabById('formfire'); + }, + }); + // Dynamic per-form commands this.registerDynamicCommands(); }