A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: fix open settings shortcut interfering with editor shortcut Signed-off-by: 01zulfi <[email protected]>
01zulfifb1eb234b6ab
diff --git a/apps/web/src/common/key-map.ts b/apps/web/src/common/key-map.tsindex 3e7e45d01..38be31e40 100644--- a/apps/web/src/common/key-map.ts+++ b/apps/web/src/common/key-map.ts@@ -75,7 +75,10 @@ const actions: Partial<isCommandMode: false}).catch(() => {});},- openSettings: () => hashNavigate("/settings", { replace: true }),+ openSettings: (e) => {+ if (isInEditor(e)) return;+ hashNavigate("/settings", { replace: true });+ },openKeyboardShortcuts: () => KeyboardShortcutsDialog.show({})};