Skip to content

Display custom element sources in Redactor #481

@cdccairns

Description

@cdccairns

Description

This is not so much a bug as a feature request, I think.

Our installation contains multiple Singles, some intended for content and some for settings. For the benefit of content managers we have disabled the default Singles overview and configured two custom Element Sources: the former for the management of content, the latter for the management of settings. However, it appears that custom Element Sources do not appear in and cannot easily be added to Redactor, making it impossible for content editors to add a link to a public-facing Single entry via the button "Link to an entry". A hard-coded relative link is a fallback option, but not particularly trustworthy.

How can we add custom Element Sources to Redactor?

Steps to reproduce

  1. Configure a custom Element Source.
  2. Configure a Redactor field and add it to a Section.
  3. In the Redactor field, click the option "Link to an entry".

Additional info

  • Craft version: 4.5.11.1
  • PHP version: 8.2
  • Database driver & version: MySQL 5.1.0
  • Plugins & versions: Redactor 3.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions