Remove Email Link From Rich Text

In a rich text component we’re displaying a value from a text column which contains emails. It is automatically making these mailto links. How can we display as plain text?

We need to display the email as a certain color so can’t use the standard text component.

Current rich text value:

<span style="color:grey;">COC: @COCAction @CustomerCOCEmail</span>

Try to use text-decoration: none !important;

<span style="text-decoration: none !important;">COC: @COCAction @CustomerCOCEmail</span>

Isn’t working for us.

Later tonight I will look again on my computer. It’s probably best to use the <p> tag instead of <span>

<p style="color:grey; text-decoration: none !important;">COC: @Action  @CustomerEmail</p>

That works!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.