© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•8mo ago•
9 replies
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;'])
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'])
 RichEditor::make('description')
    ->json()
    ->extraAttributes(['class' => 'custom-rich-editor'])
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

richeditor max height
FilamentFFilament / ❓┊help
3y ago
RichEditor in v4 not working!
FilamentFFilament / ❓┊help
6mo ago
v4 testing RichEditor inside form
FilamentFFilament / ❓┊help
7mo ago
How can I set default text in a RichEditor?
FilamentFFilament / ❓┊help
2y ago