You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Desktop: Accessibility: Add a new shortcut to set focus to editor toolbar (#11764)
This commit is contained in:
@@ -16,6 +16,7 @@ export const runtime = (): CommandRuntime => {
|
||||
if (target === 'noteList') return CommandService.instance().execute('focusElementNoteList');
|
||||
if (target === 'sideBar') return CommandService.instance().execute('focusElementSideBar');
|
||||
if (target === 'noteTitle') return CommandService.instance().execute('focusElementNoteTitle', options);
|
||||
if (target === 'toolbar') return CommandService.instance().execute('focusElementToolbar', options);
|
||||
throw new Error(`Invalid focus target: ${target}`);
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user