Questions tagged [richtextarea]
The richtextarea tag has no usage guidance.
159
questions
1
vote
0
answers
16
views
Documentation of allowed HTML formatting for the Lightning Knowledge Rich Text Editor?
Is there any documentation available of exactly what HTML is allowed in the Lightning Knowledge Rich Text Editor?
Rich Text Fields in Knowledge Articles (SF Help) states "When you paste content ...
0
votes
0
answers
18
views
Rich text not displaying on record lightning page
I created a rich text section on a record lightning page, where I put a link pointing to an excel sheet. The link is well displayed in edit screen, but not in creation screen when I press the button &...
-1
votes
0
answers
25
views
Retrieving rich text data from Salesforce & importing into Wordpress
I am new to moving Salesforce data dynamically into Wordpress. I am wondering if it is possible to retrieve data in a rich content Salesforce field and pull it into Wordpress without losing the ...
0
votes
0
answers
57
views
How to show QR Code in Custom field
I created a QR Code Using LWC. It works well when I show the QR Code on an HTML page.
Now I want to show that QR code which is generated via LWC in a custom field (It can be formula or Rich text area)
...
0
votes
0
answers
38
views
Salesforce CPQ document preview rendering incorrectly
When I enter the following into a Rich Text Area field:
this is what renders in the document preview:
and this is the HTML from the Rich Text Area field:
<p>Normal text
<span style="...
-2
votes
1
answer
36
views
unbale to add filter for the email contains same value in rich text filter
I want to show warning message on lead when email address has same values in more than one lead record. I'm trying to add a filter to the rich text filter criteria but I can't.
0
votes
0
answers
142
views
How to convert HTML editor data which is in string format to messageSegments to Post a Rich-Text Comment
We are integrating our FE application with SFDC Rest API's. Which is https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/quickreference_post_comment_rich_text.htm
In our FE we ...
0
votes
0
answers
143
views
Showing html tags though lightning formatted rich text used
I was trying to fetch the data (i.e)body field(Rich text field) of the news content type of CMS and display it using lighting formatted rich text but still, the information shows with HTML tags. ...
1
vote
1
answer
395
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 ...
0
votes
0
answers
157
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()....
0
votes
0
answers
298
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 ...
0
votes
1
answer
160
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 ...
2
votes
1
answer
811
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 ...
0
votes
0
answers
86
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
242
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()....
0
votes
0
answers
20
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
161
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
1
answer
672
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
753
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
124
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
1k
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
1k
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
97
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 ...
1
vote
2
answers
1k
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 ...
0
votes
0
answers
250
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
337
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 ...
0
votes
1
answer
642
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
2k
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
1k
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
1
answer
995
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
123
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
136
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....
2
votes
0
answers
41
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
161
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 ...
0
votes
0
answers
255
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
2k
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
2k
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 ...
2
votes
1
answer
1k
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?
1
vote
2
answers
5k
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
89
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
899
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 ...
1
vote
1
answer
3k
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 ...
1
vote
0
answers
540
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
353
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() + "&...
0
votes
1
answer
4k
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
591
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
1k
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:
...
0
votes
1
answer
2k
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
196
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 ...