Closed poldixd closed 7 months ago
Thanks, @poldixd, for this contribution. It's better to make it enabled by a function or configuration. That way, every dev can display it like now or respect the min/max height.
Yes, that makes sense. Maybe I add two methods like disabledMaxHeight
and disabledMinHeight
for the disabled view?
TinyEditor::make('imprint')
->maxHeight(200)
->disabledMaxHeight(200)
->disabled()
->columnSpanFull(),
What about ->previewMaxHeight()
and ->previewMinHeight()
?
Thank you
Thank you for merging and the work on this plugin!
I added
max-height
andmin-height
to the disabled view. For the scrolling I also added the css classoverflow-y-auto
to the div element.