fix: add missing open-settings command
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d7bc99e0a8
commit
b28fc38849
1 changed files with 9 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue