From 7dee93076a3d10f116961eaa703c725531776255 Mon Sep 17 00:00:00 2001 From: luis <6557454+innocuo@users.noreply.github.com> Date: Fri, 17 May 2019 23:50:33 -0500 Subject: [PATCH] Fix for #1426, aded backticks to auto-wrapping quotes. --- ElectronClient/app/gui/NoteText.jsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ElectronClient/app/gui/NoteText.jsx b/ElectronClient/app/gui/NoteText.jsx index fa197ff68f..e6ea475914 100644 --- a/ElectronClient/app/gui/NoteText.jsx +++ b/ElectronClient/app/gui/NoteText.jsx @@ -864,6 +864,9 @@ class NoteTextComponent extends React.Component { } return output; } + + //fixes #1426 but this is an Ace issue, so it can be removed if ace/brace is updated. + this.editor_.editor.getSession().getMode().$quotes = {'"': '"', "'": "'", "`": "`"}; // Disable Markdown auto-completion (eg. auto-adding a dash after a line with a dash. // https://github.com/ajaxorg/ace/issues/2754