Skip to content

Commit

Permalink
feat(FeelEditor): use text-area line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
marstamm committed Jan 8, 2024
1 parent e36ed36 commit 506fba7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/entries/FEEL/FeelEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { forwardRef } from 'preact/compat';

import FeelEditor from '@bpmn-io/feel-editor';

import { lineNumbers } from '@codemirror/view';
import { EditorView, lineNumbers } from '@codemirror/view';

import { useStaticCallback } from '../../../hooks';

Expand Down Expand Up @@ -98,7 +98,8 @@ const CodeEditor = forwardRef((props, ref) => {
value: localValue,
variables: variables,
extensions: [
...enableGutters ? [ lineNumbers() ] : []
...enableGutters ? [ lineNumbers() ] : [],
EditorView.lineWrapping
]
});

Expand Down

0 comments on commit 506fba7

Please sign in to comment.