Richeditor v4, set default height
Hi
I am wondering if there is a good way to set the defualt height (rows) of a richeditor in v4?
I tried doing which works, but only the first line is clickable/focusable - so its a bit confusing for the user.
I am wondering if there is a good way to set the defualt height (rows) of a richeditor in v4?
I tried doing which works, but only the first line is clickable/focusable - so its a bit confusing for the user.
Solution
RichEditor::make('description')
->json()
->extraAttributes(['class' => 'custom-rich-editor'])