Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now
3

Since aura:unescapedHtml introduces the possibility of security vulnerabilities in your code, better solution would be: <lightning:formattedRichText value="{!v.yourHTMLContent}"/>


2

You can do it with Apex. If you have only 1 image in the text you can use the following sample code. String contactId; Contact c = [ SELECT Id, Picture__c FROM Contact WHERE Id = :contactId ]; c.Picture__c = c.Picture__c.replace('<img', '<img style="height: 256px"'); update contacts; Note: update SObject name and field name ...


1

You cannot add tables directly in Rich Text Area, however, you can copy and paste them from MS Excel, for example. The result will be like this:


1

This problem is caused by the EXIF extension in this article, combined with the fact that apparently image-rotation is, by default, 0deg, so any compliant browser isn't allowed to show the image right-side-up. The only fix for this is to reorient the image properly by using an image manipulation algorithm capable of reordering the pixels in the file, such ...


1

Sorry this is currently not supported. Only String, Integer and Boolean are supported, where Strings can have a datasource that will present as a picklist. Reference: https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_config_for_app_builder_design_files.htm


1

This works for me: .THIS .slds-rich-text-editor { height: 500px; }


1

You can use lightning:formattedRichText value="{!v.messageAttributeName}" https://developer.salesforce.com/docs/component-library/bundle/lightning:formattedRichText/example


Only top voted, non community-wiki answers of a minimum length are eligible