Is there a way to set a custom minHeight for the richText editor? I've been using it a lot to enable underline/specific colors in headlines, but having a lot of those fields takes up huge amounts of unnecessary space. I've tried setting the minHeight property with the custom style attribute, but couldn't get it to work (seems like it just applies to the container element)
#RichText Editor custom minHeight
4 messages · Page 1 of 1 (latest)
You could likely add a className to the richText editor, and then add a stylesheet to your payload config. This way you can target your field however you would like. Docs for custom CSS https://payloadcms.com/docs/admin/customizing-css#customizing-css-and-scss
To modularize this more you could create a reusable field config, that adds the className so you do not have to declare it everytime you want to use the smaller richText field
That's the perfect solution, thank you!