mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
added codemirror plugin for easier editing - matchtags, match brackets and highlight matches
This commit is contained in:
@@ -261,6 +261,9 @@ const noteEditor = (function() {
|
||||
value: "",
|
||||
viewportMargin: Infinity,
|
||||
indentUnit: 4,
|
||||
matchBrackets: true,
|
||||
matchTags: { bothTags: true },
|
||||
highlightSelectionMatches: { showToken: /\w/, annotateScrollbar: false }
|
||||
});
|
||||
|
||||
codeEditor.on('change', noteChanged);
|
||||
|
||||
Reference in New Issue
Block a user