# Remove Email Link From Rich Text

**URL:** <https://community.glideapps.com/t/remove-email-link-from-rich-text/76283>\
**Category:** Ask for Help\
**Created:** [September 11, 2024, 8:30am UTC](https://community.glideapps.com/t/remove-email-link-from-rich-text/76283 "2024-09-11T08:30:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [September 11, 2024, 8:30am UTC](https://community.glideapps.com/t/remove-email-link-from-rich-text/76283/1 "2024-09-11T08:30:13Z")

</div>

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:

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

```

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [September 11, 2024, 9:23am UTC](https://community.glideapps.com/t/remove-email-link-from-rich-text/76283/2 "2024-09-11T09:23:37Z")

</div>

Try to use `text-decoration: none !important;`

---

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [September 11, 2024, 9:48am UTC](https://community.glideapps.com/t/remove-email-link-from-rich-text/76283/3 "2024-09-11T09:48:02Z")

</div>

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

```

Isn’t working for us.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [September 11, 2024, 10:02am UTC](https://community.glideapps.com/t/remove-email-link-from-rich-text/76283/4 "2024-09-11T10:02:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Curtis](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/curtis/32/59826_2.png) [@Curtis](https://community.glideapps.com/u/Curtis)\
**Post date:** [September 11, 2024, 10:58am UTC](https://community.glideapps.com/t/remove-email-link-from-rich-text/76283/5 "2024-09-11T10:58:52Z")

</div>

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

```

That works!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [September 18, 2024, 10:59am UTC](https://community.glideapps.com/t/remove-email-link-from-rich-text/76283/6 "2024-09-18T10:59:46Z")

</div>

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