I have an image in base64 format and I want to push the image data explicitly into my lightning-input-rich-text. Is there any way?
My code looks like this:
<lightning-input-rich-text value={body} label="EmailBody" placeholder="Email Body" >
</lightning-input-rich-text>
and in my JS Controller I am trying to do this
this.body = this.filesUploaded[0]['VersionData']
// this.filesUploaded[0]['VersionData'] represent the base64 format data
Instead of showing the image My lightning-input-rich-text show base64 string for ex: ('iVBORw0KGgoAAAA....')