function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Perm RevolutionPerm Revolution 

Lightning Component Rich Text Example on SF Documentation failing!

Hey guys,

So go to this component definiton page:
https://developer.salesforce.com/docs/component-library/bundle/lightning-formatted-rich-text/documentation

Then make a new component with the HTML and the JS with the simple code provided. Run it and you can a bunch of errors. Probably around Quill and inserting javascript code or something. But I assume examples like this shouldn't fail correct?

User-added image
MagulanDuraipandianMagulanDuraipandian
I tried it in my org. It is not throwing any errors like that. Put the code in a brand new component and check.

--
Magulan Duraipandian
www.infallibletechie.com
Perm RevolutionPerm Revolution
Hi Magulan,

Thanks so much for the reply, sorry I forgot to specify, try clicking into the rich text field and you then get the errors. The onchange throws all these errors, though I did find it works as I want it to.