Questions tagged [richtextarea]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
34 views

Issues with using Data Loader for rich text field

I am using Data Loader in command line format. I am updating a record of type Knowledge__kav, in which we have a custom rich text field called Body__c. As per documentation, I have fortmatted it as ...
  • 2,663
0 votes
0 answers
25 views

Get the start and end indices of the highlighted text in lightning-input-rich-text

How do I get the start and end indices of the highlighted text in lightning-input-rich-text? I tried var startIndex = window.getSelection().anchorOffset; var endIndex = window.getSelection()....
  • 672
0 votes
0 answers
17 views

How can I display a Rich Text field in an Aura Component?

I am trying to update an Aura Component so that it displays a Rich Text field. Right now, the field's data is displaying on the page but it is also displaying HTML tags, such as <p></p>. I ...
  • 53
0 votes
1 answer
28 views

Trying to Update Text Area (Long) to Text Area (Rich) for all Account Records

I have a Text Area (Long) field that was encrypted so I am unable to convert it to a Text Area (Rich) field. Therefore, I created a new Text Area (Rich) field and would like to update all Account ...
  • 55
2 votes
1 answer
200 views

Is there a decent WYSIWG HTML editor that will run inside an LWC?

We have some requirements pushing us towards a better HTML editor than the default rich text field editor. The first one I found Googling is from Froala but a few years ago it didn't work inside an ...
  • 133k
0 votes
0 answers
35 views

Limit max width of image from rich text using Apex Trigger

I have two Rich Text Area fields named Description__c and Operational_Disposition__c. My goal is to limit the width of images inside these two fields to the max of 600px. I tried creating this trigger:...
0 votes
1 answer
113 views

Aura component replace highlighted text

Hi I want to be able to have the user highlight text in a lightning:inputRichText component and then be able to replace it with a link. I am able to get the highlighted text with window.getSelection()....
  • 11
0 votes
0 answers
19 views

How to parse CSV file containing line breaks within the CSV cells using Apex [duplicate]

I have a CSV file uploaded in Salesforce Document, That CSV contains line breaks within the cell. So when I try to parse this CSV file with "csvFileContent.split('\n')", I am expecting all ...
0 votes
0 answers
163 views

Formatting is not retained in Salesforce Rich Text Area fields

We have a requirement to store large text in Rich Text Area Fields of custom object containing bullet indentation and tables. Unfortunately, RTA fields do not support sub-bulletining or table ...
0 votes
0 answers
137 views

Is it possible to build a custom list using LWC or Aura with rich text field inline editing?

I have been searching for days but can't seem to find any clue. I have tried "lightning-datatable" component but it does not work. I was able to do it in Visualforce but now I need to do it ...
0 votes
0 answers
404 views

Displaying Rich Text Image in Salesforce from External Source

TL;DR RichText image is coming from external system. Get's into field, but does not display. Description Hello everyone, we have an integration from SolarWinds to Salesforce the user can add a Rich ...
  • 1,380
0 votes
1 answer
352 views

Visualforce Page Quote Template, Display jpg from Rich Text Field or Rich Text

In our quote templates, some sites have very specific site terms where logos have to be displayed in the Quote. Currently, the Site terms are in a Text field (Site_Information__C) that gets pulled ...
1 vote
0 answers
561 views

Converting Long Text with HTML Tags to another Rich Text Field

I've run into a unique situation converting values from a 'long text' field into a 'rich text' field. Our SFDC instance is integrated with another tool ('Tool X') that sends data back into Salesforce. ...
1 vote
1 answer
83 views

Why is the top margin of headings missing in Rich Text Fields?

When I add headings to a Rich Text Field on an Article, I'm seeing some strange behavior. In the HTML Editor, I see an even top & bottom margin (see attached screenshot). But when I save the ...
0 votes
0 answers
702 views

Is there any possibility to use custom labels inside Rich Text Area field in Salesforce objects?

Hi I want to know whether custom labels in salesforce can be used in rich text area field in salesforce objects ? If possible any suggestions or workaround to achieve the same functionality would be ...
1 vote
1 answer
626 views

Rich Text Area field not allowing to save <style> tag

I am saving my email body in a field whose data type is RichTextArea so basically I am saving email history into a database. My email body sometimes contains style tags too but when trying to save ...
2 votes
0 answers
79 views

LWC1500 SFDX error retrieving 'Rich Text Area' field using @salesforce/schema

I am facing LWC1500: Invalid module id "@salesforce/schema/sObjectName.RichTextAreaField__c" when deploying through SFDX deploy. Does anybody knows why? I also tried another Rich Text Area ...
  • 21
1 vote
2 answers
819 views

I am trying to insert text into a rich text area field which has string '\\n' in the text. However salesforce is ignoring everything after \\n. Ideas? [closed]

I am trying to insert text into a rich text area field which has string '\\n' in the text. However salesforce is ignoring everything after '\\n'. This is basically a chat transcript coming from ...
  • 11
0 votes
0 answers
196 views

Display email reply from case comments in LWC: lightning-formatted-rich-text

I'm currently using lightning-formatted-rich-text in LWC to display content of case comments. However when user reply to case through email, replied text is stored in case comments which are not ...
0 votes
1 answer
209 views

Sending HTML via SOAP API

We use Perl Salesforce library WWW::Salesforce to connect our web shop via SOAP API with Salesforce and Financial Force. For invoices we send a string with HTML code to a richtext field in ...
  • 475
0 votes
1 answer
414 views

Validation rich text [duplicate]

I have a rich text field. How do I want to make it compulsory for users to insert an image? I already make the field compulsory, but if I insert the image only, it still considers null.
0 votes
1 answer
1k views

Not possible to use formula on Rich Text field?

I want to find out how long my Rich Text fields are in a specific object. When creating a Formula field with the goal of using LEN(MyField__c) I get thrown the following error: Error: You referenced ...
1 vote
0 answers
966 views

Lightning Web Component 'lightning-input-rich-text' Change Font Size

I have a lightning-input-rich-text (LWC) in which I'd like to change the default text size from 12 to 10. On following the instructions in https://developer.salesforce.com/docs/component-library/...
2 votes
0 answers
422 views

Salesforce Images from RichTextArea not being displayed in community portal

I have Salesforce custom field of RichTextArea and users are adding images in it. Now while I am displaying that field value in VF page it is not displaying the images. I found that this is happening ...
0 votes
0 answers
73 views

html-maxlength attribute is not working for apex:inputtextarea with rich text enabled

Below is my vf page line <apex:inputtextarea html-maxlength="500" richText="true" styleClass="inputRichText" id="inputRichText" value="{!some_Field__c}&...
0 votes
1 answer
78 views

Use Videos from Any Provider with a Custom Visualforce Page in External Domain

We have a community in Salesforce. We publish KB articles. We want to embed private videos (the ones we'd host in Salesforce itself, e.g. using servlet.shepherd). Using this article: https://help....
  • 1,791
2 votes
0 answers
31 views

1 in superscript converts to tt

I'm trying to add '1' in superscript to input: but '1' is displayed as a 'tt' What is the way to add '1' in superscript to be shown properly?
0 votes
0 answers
143 views

Rich Text And Images In VisualForce

If i create a richText inside of a visualforce page and i paste a screenshot inside the rich text box . Is it Possible to bind the whole rich text content to a 'string ' in the controller, Will the ...
  • 99
0 votes
0 answers
187 views

Rich text Area Issue- Apostrophe converting to some html tags

How to remove the html tags and get the original content in lightning because in classic it appears correctly but when i switch to Lighting it is adding &" something whenever i am writting &...
1 vote
2 answers
1k views

Visualforce Page - Render Rich Text Area(32768)

I am building a Visualforce page as PDF and i want to show some sections and clauses of a Contract, which are within Salesforce as records. The value i want to display is rich text area and this rich ...
1 vote
1 answer
1k views

Rich Text Area field - inline style with !important

Is there a way to override Rich Text Area field font-family with apex code? My first attempt was with !important key-word in inline style for tag, but the style was erased. Steps to reproduce: SELECT ...
1 vote
1 answer
619 views

Rich Text pictures - how to find and manage them

is there a way to find and address picture uploaded via Rich text editor? How they are stored in system? Can reuse uploaded files somehow in different rich text field?
2 votes
1 answer
4k views

lightning-formatted-rich-text class tag not recognized?

In my LWC, I have code that creates the contents I'm displaying in a component. The content includes an unordered list where I've added a class tag to change the color of the list element. Here is ...
1 vote
0 answers
69 views

Add font option to internal Salesforce rich text

Can I add a font to be used in internal Salesforce's rich content field? For example, I would like to add Open Sans for users to use in Salesforce's internal rich content fields.
0 votes
1 answer
639 views

Handling the String with <> characters

I am trying to convert the Long Area Text in to the RTF Field, the long text area sometime has the the <> in between the texts which is treated as a markup. I tried below to escape the ...
  • 659
1 vote
1 answer
2k views

Converting a Long Area Text to Rich Field Text

I am trying to convert a Long Text Area Field to a RTF but when I do so I loose all the formatting it just removes the HTML tags and makes the area a whole chunk. So what I am trying is instead of ...
  • 659
1 vote
0 answers
498 views

lightning-record-edit-form rich text field issue

When we pass value from <lightning:textarea> (Aura Component) to LWC's <lightning-input-field field-name={fieldNameWhichisRichTextField}>. If i send any value that starts with symbol '<'...
6 votes
1 answer
335 views

Possible Bug in Spring '20 - Process builder formula doesn't save BR()

Since being upgraded to the Spring '20 release, a process that we have has stopped saving BR() in a formula to the Rich Text field it is populating. Formula in Process: "... next steps." + BR() + "&...
  • 926
0 votes
1 answer
2k views

Rich text field in Salesforce doesnt works with ISBLANK and works with =''

I have a rich text field on my object and have validation to check if it is blank I want to throw an error message. ISNULL(richText__c) in validation returns FALSE - I'm okay with this. ...
0 votes
1 answer
2k views

Can We Use Quick Text in Custom fields like Rich Text area?

Actually I enabled Quick Text and it is working fine with Activities but i need that on Case Details Page field (type: Rich Text area) can we Do that on case detail page ? It is showing on Activities:...
1 vote
1 answer
362 views

Font options on internal rich text fields

In Lightning on internal rich text fields, my users are able to adjust the font and font size. However, as an admin I don't have those options. This is not a browser issue as I can sit at my ...
1 vote
1 answer
897 views

Create component of rich Text with Table creation

I wonder how can I add more tools to lightning rich text, like - create a table tool. For example - this: <lightning:inputRichText value="{!v.myVal}" placeholder="hi!"/> render to this: ...
  • 1,053
0 votes
1 answer
1k views

Add line break in a rich content field via Flow

In a flow I populate a text variable with data that I want to put in a rich content field on a record. That part is working. I want to add line breaks between the items that I am adding to the rich ...
0 votes
1 answer
178 views

Cant get to edit lightning Rich Text component

I added a lightning rich text component that I would like to use to make logs/notes of a record(custom object). However, when in the app I only see this component displayed on the application, but ...
0 votes
0 answers
738 views

Rich content field not displaying in LWC

I am trying to display the content of a rich text field in a LWC. Nothing is displaying. Below is my code: public with sharing class ProjectController { @AuraEnabled(Cacheable=true) public static ...
1 vote
2 answers
1k views

Resizing Images on a Rich Text Field

Is it possible to resize images in a Rich Text Field? We need to add images to a rich text field we have, but we found out we couldn't do any resizing. Is resizing possible in Salesforce rich text ...
3 votes
1 answer
4k views

Can Tables be Created in a Rich Text Format Field?

Is it possible to create tables in a Rich Text Field? From the image below, I could not see any icon that will create a table in the Rich Text Field. Is this a limitation for Salesforce? Or is there ...
1 vote
0 answers
118 views

Image getting rotated while inserting in rich textarea field using attachament

Facing this problem while uploading image using iPhone salesforce one app. In the attachment the image is showing right, but when the same image from attachament is inserted into rich textarea it is ...
1 vote
1 answer
1k views

LWC record-edit-form and rich-text fields rendered with the input-field element not reloading on record switch

I'm building a LWC app that allows the user to select records to edit. The records are displayed using a record-edit-form. When switching between records, the input-field that renders my rich text ...
  • 41
0 votes
0 answers
463 views

Rich Text Area field not saving if it contains multiple images

I am copy/pasting content into a rich text area field. Most of the time it saves properly, but if the value of that field contains more than 2 or 3 images, the record will not save properly. I do not ...
  • 153