- Issue created by @ressa
- π¨π¦Canada joelpittet Vancouver
Good question we are trying to figure this out in the interim as well.
- π¨π¦Canada joelpittet Vancouver
No idea if this works in D7 but it might... https://github.com/backdrop-contrib/ckeditor5
It's a big change to move though so we won't explore that and focus on getting these sites upgraded to D10. For the interim we will just mute the error messages for ckeditor. I'm pretty sure there is a hook for that.
- π©π°Denmark ressa Copenhagen
Could it be this that happened here? #3407737-6: Installed version not supported, 7.x-4.9 β
I received an automatic email from drupal.org with a list of modules of mine that still have releases for deprecated Drupal version. So... I clean it out. Everything below Drupal 9 (did I thought) since the rest is EOL right ? Well.. not D7 that got extended lately.
- πΊπΈUnited States rclemings
Wysiwyg still seems to work with CKeditor 4, for now.
- π¨πΏCzech Republic David Urban
For those exploring Extended Support option (https://ckeditor.com/ckeditor-4-support/), the basic service they offer for a few editor users costs thousands USD (for 15 admin users I got an offer of 9900 USD). It could make sense for enterprise, but is hardly practical from average Drupal site. If anyone found a good way to keep the editor alive till D7 EOL, I would be very interested.
- πΊπΈUnited States anthonyroundtree
You may have to update WYSIWYG module to latest version if you haven't done so already. https://www.drupal.org/project/wysiwyg/issues/3350431 β¨ Update to CKEditor 4.21.0 Fixed
- π©π°Denmark ressa Copenhagen
It seems like there are different ways to use CKEditor in Drupal 7. Either by installing this module https://www.drupal.org/project/ckeditor β , or through https://www.drupal.org/project/wysiwyg β . I don't have the wysiwyg module installed.
Either way, CKEditor 4 itself is EOL:
CKEditor 4 reached its End-of-Life in June 2023
https://ckeditor.com/ckeditor-4/
So we probably need to move to something else ... TinyMCE 6? β¨ Support TinyMCE 6 Active
See also β¨ Support CKEditor 5 Needs review .
- πΊπΈUnited States rclemings
I've migrated one site from this module to Wysiwyg/CKEditor4 and it works (at least for now) except for a few gotchas:
1. There are some classes in css/ckeditor.css that won't (naturally) be available in Wysiwyg. We noticed this when some centered type was suddenly flush-left because the browser couldn't find the "rtecenter" class. The fix was to copy those classes to the css in our custom theme.
2. On the "cleanup and output" tab of each Wysiwyg profile, there's a box labelled "Apply simple source formatting." If that box is not checked, then all of the line breaks are removed from the source code view (using the "Disable rich-text" link), making it hard to read.
3. We had to remove the filter "Convert line breaks into HTML (i.e.
and)" from the text formats that use Wyswiyg/CKEditor. Otherwise, line breaks in the text are doubled when the node is displayed ("
" instead of "
").That's it so far, except that CKEditor4 is still EOL.
- π¨π¦Canada joelpittet Vancouver
We are doing this FTR:
/** * Implements hook_update_projects_alter(). */ function HOOK_update_projects_alter(&$projects) { unset($projects['ckeditor']); }
- π«π·France laurent.lannoy
Hello,
Sorry for my lack of experience in module development. Can you tell me where to put this function #10 to disable update notifications on this module please? Thank's - π©π°Denmark ressa Copenhagen
@larryla: You need to create a custom module β .
Just adding a comment, that my requirements were very basic (bold, lists, and similar) so I switched to using TinyMCE 4 under Wysiwyg β instead. After checking everything looked good, I removed the CKEditor 4 module. Of course, only do this after testing thoroughly that everything works :)
- π³π±Netherlands megachriz
@ressa
TinyMCE 4 is also no longer supported. I don't know if there are any public security issues in it, but I think that you are worse off than using CKEditor 4, because TinyMCE 4 is already out of support for 3 years (longer than that CKEditor 4 is out of support).
https://www.tiny.cloud/blog/tinymce-4-support-window/Only TinyMCE 6 is currently being maintained, according to https://en.wikipedia.org/wiki/TinyMCE
- π³π±Netherlands megachriz
If you have very basic requirements, an other option that you could consider is to use Markdown instead of a wysiwyg editor. Though converting all existing content to Markdown could be a tedious task. I would think though that there are tools/scripts available to convert html to Markdown.
- π©π°Denmark ressa Copenhagen
Thanks @MegaChriz, maybe you're right ... And I do know, but I have a hope that TInyCME 6 support will be added, I created β¨ Support TinyMCE 6 Active .
- π¦πΉAustria indigoxela
Not the solution for the main problem here, but maybe helpful for some: https://github.com/indigoxela/tinymcebackport
Greetings from the Backdrop CMS community. :-)
- π©π°Denmark ressa Copenhagen
Thanks! I added a link to it in the TinyMCE 6 issue β¨ Support TinyMCE 6 Active .