FilamentF
Filament6mo ago
Jonas

Richeditor v4, set default height

Hi
I am wondering if there is a good way to set the defualt height (rows) of a richeditor in v4?
I tried doing
RichEditor::make('description')
            ->json()
            ->extraAttributes(['style' => 'min-height: 18em;'])
which works, but only the first line is clickable/focusable - so its a bit confusing for the user.
Solution
RichEditor::make('description') ->json() ->extraAttributes(['class' => 'custom-rich-editor'])
Was this page helpful?