mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Set lineWiseCopyCut option to false
Fixes https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/103 Related: https://github.com/codemirror/CodeMirror/issues/3169
This commit is contained in:
parent
7141f795fb
commit
91f68d7665
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ const codeMirrorOptions = {
|
||||||
autoCloseTags: true,
|
autoCloseTags: true,
|
||||||
extraKeys: { Tab: false, "Shift-Tab": false },
|
extraKeys: { Tab: false, "Shift-Tab": false },
|
||||||
viewportMargin: Infinity,
|
viewportMargin: Infinity,
|
||||||
|
lineWiseCopyCut: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
const parser = new DOMParser();
|
const parser = new DOMParser();
|
||||||
|
|
Loading…
Reference in a new issue