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
Raghavendra ARaghavendra A 

Rich Text Editor in Lightning

Hi All,

I found the following in the Lightning Deisgn system :

When I select Email, most of the elements like Font, Hyperlink, Select Image etc are shown here. But, when I add this to a lightning component, none of the controls work. Do we need to implement the entire editor functionality in our code? 

Any help or insights are highly appreciated. 

Raj VakatiRaj Vakati
Use lightning:inputRichText  along with  lightning:insertImageButton

<lightning:inputRichText value="{!v.myVal}" placeholder="Type something interesting"/>

<lightning:inputRichText value="<b>HELLO</b>"> <lightning:insertImageButton/> </lightning:inputRichText>
Raj VakatiRaj Vakati