- Issue created by @jannakha
- π¦πΊAustralia jannakha Brisbane!
jannakha β changed the visibility of the branch 3534699-refactor-custom-js to hidden.
- Merge request !37Issue #3534699 by jannakha: Refactor custom JS for CKEditor5 v45+ β (Open) created by jannakha
- π¦πΊAustralia jannakha Brisbane!
this also fixes:
https://www.drupal.org/project/editor_advanced_link/issues/3519379 π Fix keyboard accessibility of advanced attribute fields Active
https://www.drupal.org/project/editor_advanced_link/issues/3534044 π Adding "Open in new window" removes all other attributes Active
https://www.drupal.org/project/editor_advanced_link/issues/3391226 π matcher-pattern-deprecated-attributes-class-key ckeditor warnings Active - π¦πΊAustralia jannakha Brisbane!
@DuaelFr
Hello from Australia! I'm working with @vladimiraus and I did a refactoring of JS files to be more inline with CKEditor5 45+ - would you like to collaborate on it? I'm on slack or here. - π©πͺGermany styx1983
The MR seems to fix all problems we are currently experiencing with the latest release 2.3.1 on Drupal 11.
Especially the "Uncaught CKEditorError: can't access property "_items", t._manualDecoratorSwitches is undefined" that prevented linkit from working properly seems to be fixed within this one.
- π¦πΊAustralia marc.groth
Just to clarify... Issue #3534044 is still an issue. It's a bit confusing because the problem is listed as a known issue under 'Remaining tasks'... But then comment #4 says that the patch fixes it. The former is true. It is still an issue. I also added a comment to the aforementioned ticket
- πΊπΈUnited States tommasorandazzo
Confirming that this fixes my issue with 2.3.1. It also seemed to fix the issue in #3534044 for me. Drupal core 11.2.2
- πΊπΈUnited States jcandan
Confirmed text link attributes all persist as expected with MR !37 on 2.3.x with Drupal 11.2.2.
However, MR !37 breaks image link attributes which, according to #3349389-47: Fix image/media link attributes being lost β , all but
target="_blank"
have been shown working in 2.3.1. - πΊπΈUnited States jcandan
Given π Link attributes don't save Needs review bug affects both 2.2.x and 2.3.x,
And given the effort here to fix 2.3.x specifically for CKEditor 45+
Can we officially adopt the image/media link attributes bug within the scope of this issue?This would allow us to laser focus on the issues as they exist differently in each minor version.
The question is, are we willing to change the scope of each, given the amount of work already attempted?
Give it a day or so, if no comments to the contrary, I may go in and update and clarify scopes for each.
- π¦πΊAustralia jannakha Brisbane!
@jcandan I'll see if have some time next week to check how to handle link attrs on media (it's something to do with their upgrade in v44 and https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-lin...)