- π¦π·Argentina natiar Buenos Aires
I have Drupal 10 installed. When migrating it from one domain to another, the CKeditor stopped working. How can I repair it?
Thnks a lot! - π¦πΊAustralia VladimirAus Brisbane, Australia
@natiar do you have any javascript or other errors?
- @vladimiraus opened merge request.
- Assigned to VladimirAus
- Status changed to Needs work
over 1 year ago 8:38pm 20 May 2023 - π¨π¦Canada jodavidson
Giving this a test using the plain diff as a patch. In Drupal 9.5.9 with CKeditor5 enabled the Special Chars does not appear in the plugins area of the Text Format configuration as it does with CKeditor4.
I may be missing something in the implementation, and there may not yet be enough mods for it to work, but I thought you'd appreciate the feedback.
- π¦πΊAustralia VladimirAus Brisbane, Australia
@jodavidson yep, still work in progress π
- π¦πΊAustralia VladimirAus Brisbane, Australia
Just researching the more accurate way to upgrade it as special characters are now included in the core so only modification part is required:
- Create JS file with behaviour, get all instances of CKEditor and loop through them by applying newly defined special characters and insert it via
ckeditor_specialchars_library_info_alter()
. - OR create CKEditor JS plugin as specified in CK documentation and then insert it to existing specialCharacters plugin via
ckeditor_specialchars_ckeditor5_plugin_info_alter()
. Another issue with the second solution is that current webpack config gives cannot parse CSS error.
- Create JS file with behaviour, get all instances of CKEditor and loop through them by applying newly defined special characters and insert it via