Questions tagged [inputrichtext]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

Facing challenges while editing table content in richtext box and formatting tr td and table tags

i am havig a requirement where in reports needs to be generated with a data in structured format, i have used and tags to create a table with hidden borders, here the issue is that i was not able ...
Lone Warriour's user avatar
1 vote
1 answer
104 views

Unable to Embed TinyMCE 6 Text Editor into VisualForce Page

I'm facing an issue while trying to embed TinyMCE 6 text editor into a VisualForce page. I have attempted the solution mentioned here, which suggests uploading only the tinymce.min.js JavaScript file ...
ApexAdam's user avatar
  • 163
0 votes
1 answer
220 views

LWC Rich Text component doesn't trigger change event, value not updated on blur, for minor changes

I was experimenting with with the lightning-input-rich-text component and followed the instructions for a simple use-case. Everything renders as expected but, when I started typing, the change event ...
JDB's user avatar
  • 670
0 votes
1 answer
422 views

Resize lightning-input-field when it is a rich text field using the cursor

I have this in my LWC component <lightning-record-edit-form> <template for:each={draftableFields} for:item="field"> <lightning-layout-item key={...
Gene's user avatar
  • 1
1 vote
0 answers
251 views

Integration of TinyMCE with LWC not working properly

I'm currently working on incorporating TinyMCE as a LWC component into my Salesforce application. I've been following the instructions outlined in this link. Also, I tested code in Locker console and ...
Mila Mirovic's user avatar
-1 votes
1 answer
355 views

variant='label-hidden' Not Working for lightning-input-field When field is a Rich-Text

I am using Lightning input field within Lightning-Record-Edit-from ,but it seems Variant ="label-hidden" not working when field is a Rich-Text. Label is not getting hidden : <lightning-...
Manish Kumar's user avatar
0 votes
1 answer
288 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()....
Toby's user avatar
  • 11
1 vote
0 answers
523 views

Adding table to LWC Input Rich Text

I am using the standard LWC Input Richtext component. I have extended it to add Table toolbar icon. I am injecting the Table html based on number of rows and cols user enters: and when I hit save , ...
Rahul Boinepally's user avatar
2 votes
1 answer
2k views

How to Get the Current Value from a Lightning-Input-Rich-Text

QUESTION(s) Is there a way to increase the polling rate of a lightning-input-rich-text field? OR Can I just get its current value without needing an onChange event? OR Can I force an onChange event ...
User's user avatar
  • 111
0 votes
1 answer
743 views

How to insert image into lightning-input-rich-text programmatically?

I have an image in base64 format and I want to push the image data explicitly into my lightning-input-rich-text. Is there any way? My code looks like this: <lightning-input-rich-text value={...
nischal vasisth's user avatar
1 vote
1 answer
922 views

lightning-input-rich-text deleting rendered email template on backspace

I am rendering a classic email template in a lightning-input-rich-text tag. The email template renders correctly and can be edited, but hitting backspace inside the rendered email template will delete ...
29espoa's user avatar
  • 33
3 votes
2 answers
977 views

Pre-populate rich text field in the case creation page

Here is what I am trying to do: Pre-populate a custom field(rich text) on cases in the creation page The total characters is about 5000 characters with formatting (bolding, underlining) The size of ...
SFDC FORR's user avatar
2 votes
0 answers
273 views

Migrating from Zendesk to Service Cloud - Rich Text Private/Internal Notes?

We are long time Zendesk Users and are working to migrate to Service Cloud. In Zendesk there are basically 2 types of Ticket Notes/Comments Public Reply - shared with Customer Internal Note - shared ...
Jeff Callahan's user avatar
0 votes
1 answer
3k views

How to set maxlength for lightning-input-rich-text

How can we limit the number of characters entered in rich text field lightning field <lightning-input-rich-text value={myVal}> </lightning-input-rich-text> Is there any ...
AdityaHM's user avatar
  • 133
1 vote
1 answer
3k views

How to display the Rich text in text template in Visual flow

I am using the chatter post action in Visual flow. I am using the text template for displaying the message in salesforce.Whenver i am choosing rich text in text template.But it is always is disaplying ...
Salesforce Email's user avatar
2 votes
0 answers
54 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?
Patryk Bukowski's user avatar
1 vote
0 answers
608 views

lightning:inputRichText defaults to 'Salesforce Sans' style and '12' size of text even when the selected text has a different style and font

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 ...
VJay's user avatar
  • 31
0 votes
0 answers
53 views

Undo option in Rich Content field

My users are asking for an Undo option when editing a rich content field. Is this possible? My code currently is <lightning:inputRichText aura:id="jobsDetails" ...
Michele Kleinhomer's user avatar
2 votes
1 answer
849 views

How to get the InnerHTML from lightning:inputRichText?

I want to get the full HTML out of the inputRichText component, or be able to recreate it. Essentially, I want to copy its contents exactly including the format and post it and send in an email ...
Edwin Schaeffer's user avatar
0 votes
0 answers
112 views

inputRichText removing alt and title attribute and showing title null after post

I am creating Feed Posts using a custom component in which I have used lightning:inputRichText But it is removing alt and title attributes from the anchor tag. And if I am not passing the alt and ...
dinesh.kumar's user avatar
0 votes
1 answer
1k views

HTML Source bug sending Rich Text field in VisualForce Email Template

Background We are using Lightning. I need to create an email template that a user can use on a custom object's Activity > Email tab. The object records meeting minutes and includes a rich text ...
skycafe's user avatar
  • 397
1 vote
3 answers
7k views

How to adjust min-height of Salesforce Lightning input rich text component on load

I would like to change the min-height of a Salesforce Lightning rich text component. The original code (old vendor) used a long text area and Aura. I changed it to rich text area using lightning:...
skycafe's user avatar
  • 397
2 votes
0 answers
2k views

Spell check doesn't work well in lightning input rich text

I'm having a lightning out app in which I'm having a custom rich text field. When I try to correct the spelling for the misspelled words, it's stripping out the entire line instead of correcting the ...
sfdcOwl's user avatar
  • 21
3 votes
2 answers
15k views

Can I use base LWC in Aura component?

I am trying to leverage the new lightning-input-rich-text component functionality(font sizing and link) in my Aura component. I have tried adding the component in many ways and none of them work. I ...
Lourdes Montero's user avatar
0 votes
1 answer
688 views

Indent is not working in visualforce page

I'm having a lightning out app. In that I'm displaying a lightning:inputRichText and a lighning:button. On clicking 'save' button, I'm displaying the value entered in that field to the inline vf page ...
uma451's user avatar
  • 809
0 votes
1 answer
918 views

Rich text in Lightning design file

Hi is there a way to make an attribute in the design file of a Lightning bundle a rich text editor. The idea is the user to be able to enter rich text which is displayed as a rich text. Also there ...
Boris Gichev's user avatar
1 vote
3 answers
5k views

How to do character count in rich text field

I'm having a custom lightning component in which there is a rich text field present. Now I need to count the characters remaining as the user types. I found that there is no keyup function or max ...
uma451's user avatar
  • 809
2 votes
0 answers
96 views

lightning:inputRichText issue in salesforce1

I am using lightning:inputRichText in aura component which is working fine in lightning experience, but when I open the same app in Salesforce1 in my iphone I am not able to type anything in text area....
Ankita Dhamgaya's user avatar
0 votes
1 answer
2k views

How to get current cursor position in Lightning:inputrichtext field?

How do I get the current cursor position in a lightning:inputrichtext field? Say an event is triggered and I want to insert text at the cursor. What does the js look like?
Str8WaveDave's user avatar
0 votes
1 answer
415 views

Auto insert text at end of line of a rich text field

Here is the requirement: I have a Visualforce page with inputfield which is a rich text field. I want to insert a timestamp value where ever the cursor is present. I have a code that runs perfectly ...
codeinprogress's user avatar
0 votes
1 answer
107 views

Visual Flow - Rich Text inserting unwanted Line Breaks

In my Visualflow all Radio Button Lists, CheckBox Lists, and Multi-Select Checkbox List, give me unwanted line breaks if I convert the label to Rich Text. It's a normal VisualFlow that is not ...
Morgan's user avatar
  • 1
3 votes
1 answer
3k views

lightning:inputrichtext value can be initialized from init method, but not from different method

I have a <lightning:inputRichText> whose value I can initialize properly like so: Controller: init : function(component, event, helper) { component.find("body").set("v.value", "<p>...
Brian Mansfield's user avatar
3 votes
1 answer
563 views

Is it possible to initialize the value in a lightning:inputRichText, like with a lightning:input or ui:inputText?

I can initialize the value of a lightning:input by doing this: Component: <lightning:input aura:id="subject" type="text" label="Subject" name="subject" /> Controller: component.find("...
Brian Mansfield's user avatar