You need to sign in to do that
Don't have an account?
![ethanone ethanone](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Apply CSS to LWC
I've got a simple LWC for a rich text box. The default size is only a few lines and I'd like to make it bigger.
Here is the HTML for lwc:
Here is the HTML for lwc:
<template> <lightning-input-rich-text value={rtval} onchange={handleChange}> </lightning-input-rich-text> </template>How do I make the text box have height:14em?
Review below working examples of lightning-input-rich-text.
https://salesforce.stackexchange.com/questions/187051/make-lightninginputrichtext-length-longer
https://salesforce.stackexchange.com/questions/264719/how-to-adjust-min-height-of-salesforce-lightning-input-rich-text-component-on-lo
Hope above information was helpful.
Please mark as Best Answer so that it can help others in the future.
Thanks,
Vinay Kumar
DOM inspector says class="slds-rich-text-editor__textarea slds-grid" but the below doesn't work.