editor: enable line wrapping
This commit is contained in:
parent
11733d5e05
commit
b6d1f96930
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ const staticExtensions = [
|
||||||
javascript(),
|
javascript(),
|
||||||
highlightField,
|
highlightField,
|
||||||
flashField,
|
flashField,
|
||||||
|
EditorView.lineWrapping,
|
||||||
// javascriptLanguage.data.of({ autocomplete: strudelAutocomplete }),
|
// javascriptLanguage.data.of({ autocomplete: strudelAutocomplete }),
|
||||||
// autocompletion({ override: [strudelAutocomplete] }),
|
// autocompletion({ override: [strudelAutocomplete] }),
|
||||||
autocompletion({ override: [] }), // wait for https://github.com/uiwjs/react-codemirror/pull/458
|
autocompletion({ override: [] }), // wait for https://github.com/uiwjs/react-codemirror/pull/458
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue