1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00

Desktop: Fixes #1426: added backticks to auto-wrapping quotes. (#1534)

This commit is contained in:
Luis Orozco 2019-05-22 10:16:03 -05:00 committed by Laurent Cozic
parent dc9bde2184
commit 74afd20f0c

View File

@ -877,6 +877,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