diff --git a/src/editor/setup.js b/src/editor/setup.js index e30c8dd..eec6d98 100644 --- a/src/editor/setup.js +++ b/src/editor/setup.js @@ -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(),