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

Did you find this page helpful?