In a Lightning component Rich Text area, selecting text style and size always defaults to Salesforce Sans and size 12.

Input some text into the editor then try to change the font style or size. See that it defaults to Salesforce Sans and Size 12.

Making a selection of a style or size does actually change it but every time you click the style dropdown it shows Salesforce Sans and Size 12.

Using below Code on Aura Component

      <lightning:inputRichText value="{!v.taskCommentRecord.Comment__c}" aura:id="taskCommentsId"/> 

UI Issue of FontFamily and Size Default below:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.