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

Did you find this page helpful?