F
Filament12mo ago
Ngannv

How to set Height or Max height for RickEditor?

I'm wanting to set the max height and elevation for RichEditor The goal is that if the content is long, a scroll bar will appear, but don't know how? Please help me! Forms\Components\RichEditor::make("content") ->disableToolbarButtons(['attachFiles'])->....
2 Replies
awcodes
awcodes12mo ago
->extraInputAttributes([‘style’ => ‘max-height: 300px; overflow: scroll’]) Something like that.
Ngannv
NgannvOP12mo ago
Thanks so much!
Want results from more Discord servers?
Add your server