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

Support for Redactor fields #77

Closed
rjdusk opened this issue Apr 16, 2018 · 4 comments
Closed

Support for Redactor fields #77

rjdusk opened this issue Apr 16, 2018 · 4 comments

Comments

@rjdusk
Copy link

rjdusk commented Apr 16, 2018

I have an issue where clients will put images into their Redactor fields (sometimes 4mb sized files) and would love to be able to optimize them with this plugin. Something similar to what RetconHTML does. Is this possible?

@khalwat
Copy link
Contributor

khalwat commented Apr 16, 2018

If you were willing to go in and re-write the HTML using Retcon post facto, that should work.

I'm not really sure of any other way that this could integrate with Redactor unfortunately.

@khalwat khalwat closed this as completed Apr 16, 2018
@rjdusk
Copy link
Author

rjdusk commented Apr 17, 2018

No worries, I figured out a much more elegant way of handling this with Super Tables and embedded Matrix fields. It makes the admin interface for editing much easier to understand and shifts image handling away from the Redactor field and back into an Image Optimize field 👍 Thanks for all the hard work mate!

@martin-coded
Copy link

I am also looking for a workaround for older articles. At this point, the solution doesn't have to be good. It should just give the editors enough time to update the old articles. I am even considering using the craft cms transforms with Retcon and curl all articles in a staging area, to have kind of "pre" generated all images.

I'm aware that just not using images in a rich text field is the solution :) But this will not solve mistakes from the past.

Unfortunately, using Retcon doesn't really work with pre-generated images.
mmikkel/Retcon-Craft#52

Could an integration with CKeditor be a possibility or do you think a basic integration with any WYSIWYG Editor is not possible?

@khalwat
Copy link
Contributor

khalwat commented Apr 23, 2023

Given that P&T is ending support for Redactor in favor of CKEditor, I'm going to close this issue.

Once the CKEditor from P&T supports 3rd part plugins, perhaps we can evaluate it for that plugin.

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

No branches or pull requests

3 participants