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
feat: add ` to WRAP_CHARS
thecodrra1006074030a
diff --git a/apps/web/src/components/editor/plugins/shortcuts/plugins.js b/apps/web/src/components/editor/plugins/shortcuts/plugins.jsindex 3889fbffe..afa6cd5e2 100644--- a/apps/web/src/components/editor/plugins/shortcuts/plugins.js+++ b/apps/web/src/components/editor/plugins/shortcuts/plugins.js@@ -7,6 +7,7 @@ const WRAP_CHARS = {"(": { start: "(", end: ")" },"{": { start: "{", end: "}" },"|": { start: "|", end: "|" },+ "`": { start: "`", end: "`" },};(function () {@@ -23,7 +24,7 @@ const WRAP_CHARS = {} else if (!!WRAP_CHARS[e.key]) {e.preventDefault();const char = WRAP_CHARS[e.key];- editor.selection.setContent(`${char.start}${content}${char.end} `);+ editor.selection.setContent(`${char.start}${content}${char.end}`);}} else if (!!WRAP_CHARS[e.key]) {e.preventDefault();