<p>I ended up getting this great plugin called Redactor Extras
<a href="https://github.com/elliotlewis/Redactor-Extras" rel="nofollow noreferrer">https://github.com/elliotlewis/Redactor-Extras</a></p>

<p>Installed easily, and it has a properties option that it adds to rich text fields that lets you add a class or id to a piece of text. I just add id=something and then link to #something. Works like a charm for adding anchors!</p>

CC BY-SA 3.0
2017-10-13T20:36:15.510Z
2017-10-13T20:36:15.510Z
kingkelly
<p>I know if I turn off Purify HTML I might be able to get anchors working in Redactor rich text fields, but I want the ole client to be able to insert anchor links.</p>

<p>Does a plugin for this exist, or is it possible to make an 'insert anchor' button on my own easily?</p>

<redactor>
Can you add anchors in redactor?
# Can you add anchors in redactor?

(Asked by: username_0 on 2017-10-13)

I know if I turn off Purify HTML I might be able to get anchors working in Redactor rich text fields, but I want the ole client to be able to insert anchor links.

Does a plugin for this exist, or is it possible to make an 'insert anchor' button on my own easily?

**Tags:** redactor

---

## 1 answers

### Answer by username_0 on 2017-10-13. Score: 2

I ended up getting this great plugin called Redactor Extras
<https://github.com/elliotlewis/Redactor-Extras>

Installed easily, and it has a properties option that it adds to rich text fields that lets you add a class or id to a piece of text. I just add id=something and then link to #something. Works like a charm for adding anchors!


---

