#Richeditor v4, set default height
9 messages · Page 1 of 1 (latest)
Perhaps a bit difficult to see from the video, but only the first line is clickable
Use the ->toolbarButtons() and ->maxHeight() or customize the editor content area directly via CSS targeting, not the outer wrapper. Unfortunately, Filament v4 does not expose a built-in rows or height option on the RichEditor, so we need to extend it a bit.
RichEditor::make('description') ->json() ->extraAttributes(['class' => 'custom-rich-editor'])
.custom-rich-editor .ProseMirror { min-height: 18em; }
Thanks! That works 🙂
Would be cool if V4 had a method for min-height
yes
Thank you for marking this question as solved!
Learn more