1
0
mirror of https://github.com/heyman/heynote.git synced 2025-02-02 19:39:43 +01:00

Change so that Alt+Click adds new cursor (instead of C+Click)

This commit is contained in:
Jonatan Heyman 2023-03-03 13:29:50 +01:00
parent 85a5bc95a7
commit 4d98d9c861

View File

@ -55,6 +55,7 @@ const customSetup = /*@__PURE__*/(() => [
drawSelection(),
dropCursor(),
EditorState.allowMultipleSelections.of(true),
EditorView.clickAddsSelectionRange.of(e => e.altKey),
indentOnInput(),
syntaxHighlighting(defaultHighlightStyle, { fallback: true }),
bracketMatching(),