Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix NĂ¼sse <felix.nuesse@t-online.de>2022-05-29 15:33:46 +0300
committerGitHub <noreply@github.com>2022-05-29 15:33:46 +0300
commitf42aee8deab666cec37e0174c8c2978e29699988 (patch)
tree6cec1b6560e89454b83ac6b89dde62d87962b9f8
parentf5081672d4482d0586e974018bf137e8fbbe5c84 (diff)
disable some keyboard shortcuts in edit mode
-rw-r--r--src/components/EditorEasyMDE.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/EditorEasyMDE.vue b/src/components/EditorEasyMDE.vue
index cf49a37d..fac8280b 100644
--- a/src/components/EditorEasyMDE.vue
+++ b/src/components/EditorEasyMDE.vue
@@ -110,6 +110,10 @@ export default {
element: this.$el.lastElementChild.firstElementChild,
initialValue: this.value,
renderingConfig: {},
+ shortcuts: {
+ toggleSideBySide: null,
+ togglePreview: null,
+ },
}, this.config)
this.mde = new EasyMDE(config)