Skip to content

TagSpaces is an offline, open source, document manager with tagging support

feat: added paste and match style functionality in the electron's edit menu

Ilian Sapundshiev28c4c766f6fc
diff --git a/src/main/electron-menus.ts b/src/main/electron-menus.ts
index 73c65f572..4b079cd23 100644
--- a/src/main/electron-menus.ts
+++ b/src/main/electron-menus.ts
@@ -107,6 +107,11 @@ export default function buildDesktopMenu(props: any, i18n) {
accelerator: 'CmdOrCtrl+v',
role: 'paste',
},
+ {
+ label: i18n.t('pasteAndMatchStyle'),
+ accelerator: 'CmdOrCtrl+Shift+v',
+ role: 'pasteAndMatchStyle',
+ },
{
label: i18n.t('selectAll'),
accelerator: 'CmdOrCtrl+a',
diff --git a/src/renderer/locales/en/core.json b/src/renderer/locales/en/core.json
index 7a2b982ea..ba750209a 100644
--- a/src/renderer/locales/en/core.json
+++ b/src/renderer/locales/en/core.json
@@ -225,6 +225,7 @@
"cut": "Cut",
"copy": "Copy",
"paste": "Paste",
+ "pasteAndMatchStyle": "Past & Match Style",
"selectAll": "Select All",
"view": "View",
"help": "Help",