1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-10-31 00:07:48 +02:00

Desktop: Allow 'Paste as Text' on the Rich Text Editor (#7751)

This commit is contained in:
pedr
2023-02-13 16:16:33 -03:00
committed by GitHub
parent d55d4d42e5
commit c706b8dd2f
9 changed files with 43 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ const defaultKeymapItems = {
{ accelerator: 'Cmd+C', command: 'textCopy' },
{ accelerator: 'Cmd+X', command: 'textCut' },
{ accelerator: 'Cmd+V', command: 'textPaste' },
{ accelerator: 'Cmd+Shift+V', command: 'pasteAsText' },
{ accelerator: 'Cmd+A', command: 'textSelectAll' },
{ accelerator: 'Cmd+B', command: 'textBold' },
{ accelerator: 'Cmd+I', command: 'textItalic' },
@@ -67,6 +68,7 @@ const defaultKeymapItems = {
{ accelerator: 'Ctrl+C', command: 'textCopy' },
{ accelerator: 'Ctrl+X', command: 'textCut' },
{ accelerator: 'Ctrl+V', command: 'textPaste' },
{ accelerator: 'Ctrl+Shift+V', command: 'pasteAsText' },
{ accelerator: 'Ctrl+A', command: 'textSelectAll' },
{ accelerator: 'Ctrl+B', command: 'textBold' },
{ accelerator: 'Ctrl+I', command: 'textItalic' },