1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-15 09:04:04 +02:00
joplin/packages/app-desktop/gui/menuCommandNames.ts

70 lines
1.5 KiB
TypeScript

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',
'textBulletedList',
'toggleExternalEditing',
'toggleLayoutMoveMode',
'toggleNoteList',
'toggleNotesSortOrderField',
'toggleNotesSortOrderReverse',
'togglePerFolderSortOrder',
'toggleSideBar',
'toggleVisiblePanes',
'editor.deleteLine',
'editor.duplicateLine',
// 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',
'editor.indentLess',
'editor.indentMore',
'editor.toggleComment',
'editor.sortSelectedLines',
'editor.swapLineUp',
'editor.swapLineDown',
'toggleSafeMode',
'showShareNoteDialog',
'showShareFolderDialog',
'leaveSharedFolder',
'gotoAnything',
'commandPalette',
'openMasterPasswordDialog',
'addProfile',
'editProfileConfig',
'switchProfile1',
'switchProfile2',
'switchProfile3',
];
}