F
Filament15mo 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
awcodes15mo ago
->extraInputAttributes([‘style’ => ‘max-height: 300px; overflow: scroll’]) Something like that.
Ngannv
NgannvOP15mo ago
Thanks so much!

Did you find this page helpful?