<p>Oh my ... sometimes it's just too easy. :/</p>
<p>The items in the Redactor Link Options were just <strong>hidden with CSS</strong>.</p>

CC BY-SA 4.0
2023-03-16T16:54:40.997Z
2023-03-16T16:54:40.997Z
Marc 
<p>Does your site have any sections? The link to entries option is only visible if there is at least one section to select entries from.</p>
<p>To find out more, you can use the <a href="https://github.com/craftcms/redactor/blob/main/src/Field.php#L49" rel="nofollow noreferrer"><code>EVENT_REGISTER_LINK_OPTIONS</code></a> event. The property <code>$event-&gt;linkOptions</code> should include the <em>Link to an Entry</em> option, but <a href="https://github.com/craftcms/redactor/blob/main/src/Field.php#L501-L509" rel="nofollow noreferrer">only if the site has any sections</a>.</p>

CC BY-SA 4.0
2023-03-16T13:43:37.183Z
2023-03-16T13:43:37.183Z
MoritzLost
<p>maybe someone has an idea?</p>
<p>The <strong>Redactor Rich Editor does not show &quot;Link to an entry&quot;</strong> - only &quot;Insert link&quot; is available (see screenshot).</p>
<p>I'm pretty sure this might work, like in this post:
<a href="https://craftcms.stackexchange.com/questions/22395/adding-link-type-to-redactor-rich-editor">Adding link type to Redactor Rich Editor</a></p>
<p>Using the <strong>Redactor standard config</strong>, <strong>Craft 4.4.2</strong>, <strong>Redactor 3.0.3</strong>.</p>
<p>Thanks a lot for a hint! :)</p>
<p><a href="https://i.sstatic.net/IK6gs.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IK6gs.png" alt="enter image description here" /></a></p>

CC BY-SA 4.0
2023-03-16T13:36:41.040Z
Can you post the full redactor config used by the field?
MoritzLost
CC BY-SA 4.0
2023-03-16T16:55:31.430Z
It's solved, thanks a lot for your support, Moritz!
Marc 
<redactor><link>
Redactor // "Link to an entry" not available
# Redactor // "Link to an entry" not available

(Asked by: username_0 on 2023-03-16)

maybe someone has an idea?

The **Redactor Rich Editor does not show "Link to an entry"** - only "Insert link" is available (see screenshot).

I'm pretty sure this might work, like in this post:
[Adding link type to Redactor Rich Editor](https://craftcms.stackexchange.com/questions/22395/adding-link-type-to-redactor-rich-editor)

Using the **Redactor standard config**, **Craft 4.4.2**, **Redactor 3.0.3**.

Thanks a lot for a hint! :)

[![enter image description here](https://i.sstatic.net/IK6gs.png)](https://i.sstatic.net/IK6gs.png)

**Tags:** redactor, link
> **Comments:**
> **username_1**: Can you post the full redactor config used by the field?  
> **username_0**: It's solved, thanks a lot for your support, Moritz!  

---

## 2 answers

### Answer by username_0 on 2023-03-16. Score: 1

Oh my ... sometimes it's just too easy. :/

The items in the Redactor Link Options were just **hidden with CSS**.


---

### Answer by username_1 on 2023-03-16. Score: 1

Does your site have any sections? The link to entries option is only visible if there is at least one section to select entries from.

To find out more, you can use the [`EVENT_REGISTER_LINK_OPTIONS`](https://github.com/craftcms/redactor/blob/main/src/Field.php#L49) event. The property `$event->linkOptions` should include the *Link to an Entry* option, but [only if the site has any sections](https://github.com/craftcms/redactor/blob/main/src/Field.php#L501-L509).


---

