2020-10-31 18:29:17 +02: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',
|
|
|
|
'synchronize',
|
|
|
|
'textBold',
|
|
|
|
'textCode',
|
|
|
|
'textCopy',
|
|
|
|
'textCut',
|
|
|
|
'textItalic',
|
|
|
|
'textLink',
|
|
|
|
'textPaste',
|
|
|
|
'textSelectAll',
|
2021-11-11 17:50:15 +02:00
|
|
|
'textBulletedList',
|
2020-10-31 18:29:17 +02:00
|
|
|
'toggleExternalEditing',
|
2020-11-13 19:09:28 +02:00
|
|
|
'toggleLayoutMoveMode',
|
2023-02-17 15:07:18 +02:00
|
|
|
'resetLayout',
|
2020-10-31 18:29:17 +02:00
|
|
|
'toggleNoteList',
|
2021-11-11 17:33:37 +02:00
|
|
|
'toggleNotesSortOrderField',
|
|
|
|
'toggleNotesSortOrderReverse',
|
|
|
|
'togglePerFolderSortOrder',
|
2020-10-31 18:29:17 +02:00
|
|
|
'toggleSideBar',
|
|
|
|
'toggleVisiblePanes',
|
2020-12-19 19:57:41 +02:00
|
|
|
'editor.deleteLine',
|
2021-04-25 10:57:35 +02:00
|
|
|
'editor.duplicateLine',
|
2022-03-03 15:53:11 +02: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 19:57:41 +02:00
|
|
|
'editor.indentLess',
|
|
|
|
'editor.indentMore',
|
|
|
|
'editor.toggleComment',
|
|
|
|
'editor.sortSelectedLines',
|
|
|
|
'editor.swapLineUp',
|
|
|
|
'editor.swapLineDown',
|
2021-04-24 20:23:33 +02:00
|
|
|
'toggleSafeMode',
|
2021-05-16 15:21:55 +02:00
|
|
|
'showShareNoteDialog',
|
|
|
|
'showShareFolderDialog',
|
2021-10-13 19:02:54 +02:00
|
|
|
'leaveSharedFolder',
|
2021-08-18 12:54:28 +02:00
|
|
|
'gotoAnything',
|
|
|
|
'commandPalette',
|
2021-10-03 17:00:49 +02:00
|
|
|
'openMasterPasswordDialog',
|
2022-04-11 17:49:32 +02:00
|
|
|
'addProfile',
|
|
|
|
'editProfileConfig',
|
|
|
|
'switchProfile1',
|
|
|
|
'switchProfile2',
|
|
|
|
'switchProfile3',
|
2023-02-13 21:16:33 +02:00
|
|
|
'pasteAsText',
|
2023-10-23 14:05:06 +02:00
|
|
|
'showNoteProperties',
|
2020-10-31 18:29:17 +02:00
|
|
|
];
|
|
|
|
}
|