1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Desktop: Resolves #12087: Add shortcut to toggle between editors (#12869)

This commit is contained in:
pedr
2025-08-05 08:43:58 -03:00
committed by GitHub
parent 4d8a16bda7
commit be09873c58
3 changed files with 4 additions and 0 deletions

View File

@@ -803,6 +803,7 @@ function useMenu(props: Props) {
menuItemDic.toggleNoteList, menuItemDic.toggleNoteList,
menuItemDic.toggleVisiblePanes, menuItemDic.toggleVisiblePanes,
menuItemDic.toggleEditorPlugin, menuItemDic.toggleEditorPlugin,
menuItemDic.toggleEditors,
{ {
label: _('Layout button sequence'), label: _('Layout button sequence'),
submenu: layoutButtonSequenceMenuItems, submenu: layoutButtonSequenceMenuItems,

View File

@@ -79,5 +79,6 @@ export default function() {
'switchProfile3', 'switchProfile3',
'pasteAsText', 'pasteAsText',
'showNoteProperties', 'showNoteProperties',
'toggleEditors',
]; ];
} }

View File

@@ -43,6 +43,7 @@ const defaultKeymapItems = {
{ accelerator: 'Option+Cmd+L', command: 'toggleNoteList' }, { accelerator: 'Option+Cmd+L', command: 'toggleNoteList' },
{ accelerator: 'Cmd+L', command: 'toggleVisiblePanes' }, { accelerator: 'Cmd+L', command: 'toggleVisiblePanes' },
{ accelerator: 'Option+Cmd+V', command: 'toggleEditorPlugin' }, { accelerator: 'Option+Cmd+V', command: 'toggleEditorPlugin' },
{ accelerator: 'Option+Cmd+E', command: 'toggleEditors' },
{ accelerator: 'Cmd+0', command: 'zoomActualSize' }, { accelerator: 'Cmd+0', command: 'zoomActualSize' },
{ accelerator: 'Cmd+E', command: 'toggleExternalEditing' }, { accelerator: 'Cmd+E', command: 'toggleExternalEditing' },
{ accelerator: 'Option+Cmd+T', command: 'setTags' }, { accelerator: 'Option+Cmd+T', command: 'setTags' },
@@ -95,6 +96,7 @@ const defaultKeymapItems = {
{ accelerator: 'F11', command: 'toggleNoteList' }, { accelerator: 'F11', command: 'toggleNoteList' },
{ accelerator: 'Ctrl+L', command: 'toggleVisiblePanes' }, { accelerator: 'Ctrl+L', command: 'toggleVisiblePanes' },
{ accelerator: 'Alt+Ctrl+V', command: 'toggleEditorPlugin' }, { accelerator: 'Alt+Ctrl+V', command: 'toggleEditorPlugin' },
{ accelerator: 'Alt+Ctrl+E', command: 'toggleEditors' },
{ accelerator: 'Ctrl+0', command: 'zoomActualSize' }, { accelerator: 'Ctrl+0', command: 'zoomActualSize' },
{ accelerator: 'Ctrl+E', command: 'toggleExternalEditing' }, { accelerator: 'Ctrl+E', command: 'toggleExternalEditing' },
{ accelerator: 'Ctrl+Alt+T', command: 'setTags' }, { accelerator: 'Ctrl+Alt+T', command: 'setTags' },