fix: enable line wrapping in raw editor

Long lines now wrap to the next visual line instead of scrolling
horizontally off-screen, matching expected behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Test
2026-03-05 12:57:16 +01:00
parent eab457b388
commit 96bc4e935a

View File

@@ -91,6 +91,7 @@ export function useCodeMirror(
extensions: [
lineNumbers(),
highlightActiveLine(),
EditorView.lineWrapping,
history(),
keymap.of([...defaultKeymap, ...historyKeymap]),
buildSaveKeymap(callbacksRef),