Links not rendering for HTML on rich editor component - Support for non-url links

I’m trying to populate a rich editor component with HTML so that I can edit it. I tried both component.setValue approach with a script. I also tried setting the default value in the component. Both approaches result in the same issue.

The html below has links, but they are not rendering correctly. Maybe because they are not typical url links?

"notes": "

SMS Reply Received

Received: 2026-03-14

This is a test reply

<a href="openphone://message?number=%2B19175363659">Open in Quo App | <a href="sms:+19175363659">Open in SMS App

"

1 Like

Hey thanks for waiting @benjaminfortunato! After digging into this, the Rich Text Editor component sanitizes HTML using DOMPurify to block script injection, and it uses an allowlist of permitted URL schemes. That allowlist covers http, https, mailto, tel, sms, facetime, callto, xmpp, slack, and a few others, but custom app-protocol schemes like openphone:// aren't included, so those links just get stripped silently.

There's no way to extend the allowlist from the UI right now, so your options would be:

  • Use a scheme that's already on the allowlist (e.g. sms: or tel: if that works for your use case)
  • Use a Custom Component to render the HTML directly and get around the sanitization restriction

Let me know if you've got any other questions! :folded_hands: