Questions tagged [richtextarea]
The richtextarea tag has no usage guidance.
161
questions
-1
votes
1
answer
30
views
<p>..</p> HTML tags appear with the field value when using post to chatter action [duplicate]
I have a flow where I am using post to chatter action , I created a resource (Text templte type) and inserted the fields with view as plain text. Still I am seeing value of the field with html tags in ...
0
votes
0
answers
19
views
Request for rich text area images from same salesforce org gives CORS error
I am trying to get the blob of the image from the image urls which are part of html content in Rich Text area field .i.e RTA images (eg url: <img src="https://instance-domain.sandbox.file....
0
votes
0
answers
66
views
How to Preserve Formatting in Long Text Field Input for Screen Flows
I have a screen flow that takes in input through a long text field and then inputs it into a text template used for an email. The formatting from the long text field is not preserved for some reason ...
2
votes
1
answer
77
views
Beautify code snippet string in LWC
Hi Im removing html tags from a richtext input in order to make it a raw string, the string will be a code snippet. However I could not achieve it through using the standalone.js of prettier library. ...
-1
votes
1
answer
125
views
Capture Image pasted in Rich Text Edit as public image to share over email
We have developed a custom email composer screen using rich text input component.
Problem we are facing is when the user copy an image or use image upload option the image is not visible when the ...
0
votes
1
answer
174
views
Display a RichTextArea as Plain text
I have a RichTextArea (myRichText__c) in the OLI object.
I was asked to create a VFpage that lists OLIs with x,y,z filters with myRichText__c to be editable.
All work well - see output, though the ...
0
votes
1
answer
2k
views
Remove tags from Rich Text Area
This is probably super simple but I can't figure it out. I am combining the text from two rich text area fields into a long text area field and I am getting all the formatting tags in the result. Is ...
0
votes
0
answers
36
views
Security Issue While Rendering Rich Text in Visualforce Page [duplicate]
I am trying to render a rich text content in a Visualforce Page like so :
<apex:outputText styleClass="richText" value="{!richTextContent}" escape="false"/>
...
1
vote
0
answers
244
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
1
answer
381
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 &...
0
votes
0
answers
131
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)
...
-2
votes
1
answer
62
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.
1
vote
1
answer
680
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
1
answer
317
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 ...
3
votes
1
answer
1k
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
126
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
304
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
21
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
191
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
938
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
875
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
170
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
2k
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
2k
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
120
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
2k
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
293
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
437
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
837
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
3k
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 ...
2
votes
0
answers
2k
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/...
3
votes
1
answer
2k
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
152
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
154
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
58
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
185
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
294
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
4k
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
2k
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
3
answers
6k
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
103
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
1k
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
4k
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
570
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
362
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
5k
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
3k
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
822
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
2k
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:
...