Set MarkdownEditor max height

I want to set a max-height for the Markdown editor field I tried this:
MarkdownEditor::make('settings.legal_agreements.terms_conditions')
->label('Terms & Conditions')
->extraAttributes(['style' => 'max-height: 300px'])
MarkdownEditor::make('settings.legal_agreements.terms_conditions')
->label('Terms & Conditions')
->extraAttributes(['style' => 'max-height: 300px'])
But didn't work as expected
2 Replies
toeknee
toeknee2y ago
Can you explain what didn't happen?
awcodes
awcodes2y ago
try ->extraInputAttributes()

Did you find this page helpful?