From 92cb723d0c537f4acedb9879565433cfbd5a66cb Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 23 Nov 2019 22:17:08 +0100 Subject: [PATCH] updated inapp help with current shortcuts --- src/services/keyboard_actions.js | 20 ++++----- src/services/notes.js | 1 + src/views/dialogs/help.ejs | 72 ++++++++++++++++---------------- 3 files changed, 47 insertions(+), 46 deletions(-) diff --git a/src/services/keyboard_actions.js b/src/services/keyboard_actions.js index 2f39bd8f2..66c4d682a 100644 --- a/src/services/keyboard_actions.js +++ b/src/services/keyboard_actions.js @@ -28,22 +28,22 @@ const DEFAULT_KEYBOARD_ACTIONS = [ separator: "Tabs" }, { - actionName: "NewTab", + actionName: "OpenNewTab", defaultShortcuts: ["CommandOrControl+T"], only: ELECTRON }, { - actionName: "CloseTab", + actionName: "CloseActiveTab", defaultShortcuts: ["CommandOrControl+W"], only: ELECTRON }, { - actionName: "NextTab", + actionName: "ActivateNextTab", defaultShortcuts: ["CommandOrControl+Tab"], only: ELECTRON }, { - actionName: "PreviousTab", + actionName: "ActivatePreviousTab", defaultShortcuts: ["CommandOrControl+Shift+Tab"], only: ELECTRON }, @@ -120,22 +120,22 @@ const DEFAULT_KEYBOARD_ACTIONS = [ }, { actionName: "MoveNoteUp", - defaultShortcuts: ["Ctrl+Up"], + defaultShortcuts: ["CommandOrControl+Up"], description: "Move note up" }, { actionName: "MoveNoteDown", - defaultShortcuts: ["Ctrl+Down"], + defaultShortcuts: ["CommandOrControl+Down"], description: "Move note down" }, { actionName: "MoveNoteUpInHierarchy", - defaultShortcuts: ["Ctrl+Left"], + defaultShortcuts: ["CommandOrControl+Left"], description: "Move note up in hierarchy" }, { actionName: "MoveNoteDownInHierarchy", - defaultShortcuts: ["Ctrl+Right"], + defaultShortcuts: ["CommandOrControl+Right"], description: "Move note down in hierarchy" }, { @@ -175,7 +175,7 @@ const DEFAULT_KEYBOARD_ACTIONS = [ }, { actionName: "SortChildNotes", - defaultShortcuts: ["Alt+s"], + defaultShortcuts: ["Alt+S"], description: "Sort child notes" }, { @@ -232,7 +232,7 @@ const DEFAULT_KEYBOARD_ACTIONS = [ defaultShortcuts: ["CommandOrControl+return"] }, { - actionName: "InsertDateTime", + actionName: "InsertDateTimeToText", defaultShortcuts: ["Alt+T"] }, { diff --git a/src/services/notes.js b/src/services/notes.js index 85e51bdea..7f8fe74ee 100644 --- a/src/services/notes.js +++ b/src/services/notes.js @@ -264,6 +264,7 @@ async function saveLinks(note, content) { if (note.type === 'text') { content = findImageLinks(content, foundLinks); content = findInternalLinks(content, foundLinks); + content = findExternalLinks(content, foundLinks); } else if (note.type === 'relation-map') { findRelationMapLinks(content, foundLinks); diff --git a/src/views/dialogs/help.ejs b/src/views/dialogs/help.ejs index d734a8a54..02ddd80a2 100644 --- a/src/views/dialogs/help.ejs +++ b/src/views/dialogs/help.ejs @@ -16,14 +16,14 @@

@@ -40,10 +40,10 @@ Only in desktop (electron build):

@@ -55,9 +55,9 @@

@@ -69,15 +69,15 @@

@@ -89,11 +89,11 @@

@@ -120,9 +120,9 @@

@@ -134,10 +134,10 @@