function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
HYERI KIMHYERI KIM 

lightning:inputRichText resizing

Hi
Can I resize lightning:inputRichText like a textarea's resize option?
User-added image

 
Raj VakatiRaj Vakati
Hello , 
If lightning:inputRichText is not contained any images then you can resize.otherwise, you can able to resize it. 
You can use ui:inputRichText which supports resizing options.
sfdcMonkey.comsfdcMonkey.com
Hi, lightning:inputRichText is not supported dynamic resizing option however you can resize it by CSS :

lightning component :

<lightning:inputRichText value="{!v.myVal}" class="resize" />

CSS :

.THIS.resize{
    width:50% !important;
}


i hope it helps you.
  kindly Let me inform if it helps you and close your query by choosing best answer if you got your right answer so it can helps others
thanks 
sfdcmonkey.com 

 
MG7MG7
Hi @Hyeri Kim did you find a solution on how to resize the lightning:inputRichText. Thanks
Dhanik L SahniDhanik L Sahni
You can change height using CSS for lightningInputRichText control
.THIS .lightningInputRichText {
    height: 500px;
}