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