Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display custom element sources in Redactor #481

Open
cdccairns opened this issue Dec 11, 2023 · 3 comments
Open

Display custom element sources in Redactor #481

cdccairns opened this issue Dec 11, 2023 · 3 comments
Labels

Comments

@cdccairns
Copy link

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
@cdccairns cdccairns added the bug label Dec 11, 2023
@jamiegrisdale
Copy link

After making many custom sources on a large multi-site install I've just come upon this issue. I have essentially no entries available in my text editor which makes it pretty useless.

@brandonkelly is this plugin going to receive any more updates? I see in the store it's marked as abandoned but I haven't seen any announcement. Is it deprecated or is it done and we shouldn't expect updates to fully broken functionality?

@angrybrad
Copy link
Member

@jamiegrisdale see:

#489 (comment)

https://craftcms.com/blog/ckeditor-revamped

Redactor (the Craft plugin) has been ported to Craft 5, but it is on life support. The underlying Redactor JS library this plugin is based on has not been updated since Oct. 2021. Updating this plugin to the newer Redactor X would be a complete rewrite.

Instead, we’ve decided to put our development efforts behind CKEditor.

@jamiegrisdale
Copy link

Thanks @angrybrad that comment link was useful and yes I saw the CK blog post.

Happy to upgrade and I think the decision makes sense but I have thousands of instances of customised Redactor fields across my all my sites so upgrading will take a long while. In the meantime will the plugin see bugfixes still?

This bug essentially means redactor is incompatible with one of the core features of Craft 4 – custom sources. Not sure if it's the same for Craft 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants