1

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

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

Thanks a lot for a hint! :)

enter image description here

2
  • Can you post the full redactor config used by the field?
    – MoritzLost
    Mar 16, 2023 at 13:36
  • It's solved, thanks a lot for your support, Moritz!
    – Marc
    Mar 16, 2023 at 16:55

2 Answers 2

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 event. The property $event->linkOptions should include the Link to an Entry option, but only if the site has any sections.

1

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.