2020-10-31 16:29:17 +00:00
|
|
|
export default function() {
|
|
|
|
return [
|
|
|
|
'attachFile',
|
|
|
|
'copyDevCommand',
|
|
|
|
'exportPdf',
|
|
|
|
'focusElementNoteBody',
|
|
|
|
'focusElementNoteList',
|
|
|
|
'focusElementNoteTitle',
|
|
|
|
'focusElementSideBar',
|
|
|
|
'focusSearch',
|
|
|
|
'historyBackward',
|
|
|
|
'historyForward',
|
|
|
|
'insertDateTime',
|
|
|
|
'newFolder',
|
|
|
|
'newNote',
|
|
|
|
'newSubFolder',
|
|
|
|
'newTodo',
|
|
|
|
'openProfileDirectory',
|
|
|
|
'print',
|
|
|
|
'setTags',
|
|
|
|
'showLocalSearch',
|
|
|
|
'showNoteContentProperties',
|
2024-03-02 14:25:27 +00:00
|
|
|
'permanentlyDeleteNote',
|
2020-10-31 16:29:17 +00:00
|
|
|
'synchronize',
|
|
|
|
'textBold',
|
|
|
|
'textCode',
|
|
|
|
'textCopy',
|
|
|
|
'textCut',
|
|
|
|
'textItalic',
|
|
|
|
'textLink',
|
|
|
|
'textPaste',
|
|
|
|
'textSelectAll',
|
2021-11-11 10:50:15 -05:00
|
|
|
'textBulletedList',
|
2020-10-31 16:29:17 +00:00
|
|
|
'toggleExternalEditing',
|
2020-11-13 17:09:28 +00:00
|
|
|
'toggleLayoutMoveMode',
|
2023-02-17 10:07:18 -03:00
|
|
|
'resetLayout',
|
2024-05-07 02:57:02 -07:00
|
|
|
'toggleMenuBar',
|
2020-10-31 16:29:17 +00:00
|
|
|
'toggleNoteList',
|
2021-11-12 00:33:37 +09:00
|
|
|
'toggleNotesSortOrderField',
|
|
|
|
'toggleNotesSortOrderReverse',
|
|
|
|
'togglePerFolderSortOrder',
|
2020-10-31 16:29:17 +00:00
|
|
|
'toggleSideBar',
|
|
|
|
'toggleVisiblePanes',
|
2020-12-19 10:57:41 -07:00
|
|
|
'editor.deleteLine',
|
2021-04-25 02:57:35 -06:00
|
|
|
'editor.duplicateLine',
|
2022-03-03 13:53:11 +00:00
|
|
|
// We cannot put the undo/redo commands in the menu because they are
|
|
|
|
// editor-specific commands. If we put them there it will break the
|
|
|
|
// undo/redo in regular text fields.
|
|
|
|
// https://github.com/laurent22/joplin/issues/6214
|
|
|
|
|
|
|
|
// 'editor.undo',
|
|
|
|
// 'editor.redo',
|
2020-12-19 10:57:41 -07:00
|
|
|
'editor.indentLess',
|
|
|
|
'editor.indentMore',
|
|
|
|
'editor.toggleComment',
|
|
|
|
'editor.sortSelectedLines',
|
|
|
|
'editor.swapLineUp',
|
|
|
|
'editor.swapLineDown',
|
2024-11-07 10:45:29 -03:00
|
|
|
'exportDeletionLog',
|
2021-04-24 20:23:33 +02:00
|
|
|
'toggleSafeMode',
|
2021-05-16 15:21:55 +02:00
|
|
|
'showShareNoteDialog',
|
|
|
|
'showShareFolderDialog',
|
2021-10-13 18:02:54 +01:00
|
|
|
'leaveSharedFolder',
|
2021-08-18 11:54:28 +01:00
|
|
|
'gotoAnything',
|
|
|
|
'commandPalette',
|
2021-10-03 16:00:49 +01:00
|
|
|
'openMasterPasswordDialog',
|
2022-04-11 16:49:32 +01:00
|
|
|
'addProfile',
|
|
|
|
'editProfileConfig',
|
|
|
|
'switchProfile1',
|
|
|
|
'switchProfile2',
|
|
|
|
'switchProfile3',
|
2023-02-13 16:16:33 -03:00
|
|
|
'pasteAsText',
|
2023-10-23 23:05:06 +11:00
|
|
|
'showNoteProperties',
|
2020-10-31 16:29:17 +00:00
|
|
|
];
|
|
|
|
}
|