Code Editor break long lines

I am using the Filament CodeEditor component:
CodeEditor::make('content')
->columnSpanFull()
->language(\Filament\Forms\Components\CodeEditor\Enums\Language::JavaScript)
CodeEditor::make('content')
->columnSpanFull()
->language(\Filament\Forms\Components\CodeEditor\Enums\Language::JavaScript)
By default, long lines extend horizontally and require horizontal scrolling. Is there a way to enable line wrapping (automatic line breaks) in the editor, so that long lines wrap to the next line instead of scrolling?
1 Reply
Dennis Koch
Dennis Koch4w ago
Maybe all you need is some lines of CSS?

Did you find this page helpful?