Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Vanilla JS rewrite of gin_ckeditor.js
Issue fork gin-3294545
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
saschaeggiComment #4
darvanenOne major question in the MR to be discussed I think as changing it might make the rest of the review easier to do.
Comment #5
saschaeggiNeeds review.
There is a JS error as this has a depenency to accent.js which will be solved with the refactoring in #3294537: [JS Refactor] accent library and can safely be ignored in this case.
Comment #6
saschaeggiMade some small code improvements. Ready for review.
Note: that this has a dependency to the change in #3294537: [JS Refactor] accent library, so there will be a console error
Uncaught TypeError: Drupal.ginAccent is undefined
. To work around this issue, you can apply the following patch: https://git.drupalcode.org/project/gin/-/merge_requests/163.patch for testing purposes.Comment #7
saschaeggiComment #8
saschaeggiComment #9
saschaeggiComment #10
Kristen PolFixing tag.
Comment #11
Kristen PolWhoops... 2 tags needed fixing... fixing the other one now.
Comment #12
saschaeggiReady for re-review 👀
Comment #13
saschaeggiComment #14
saschaeggiComment #15
saschaeggiStill looking for a review here
Comment #16
saschaeggiComment #17
saschaeggiComment #18
Johan den Hollander CreditAttribution: Johan den Hollander at Finalist commentedHi I just tested with the latest diff as a path to gin 3.x-dev version on Drupal 10 with CKEditor 5.
It all seems to work really well, I did not notice anything broken.
Toggling code or wysiwyg, accent color, focus color, dark or light mode all applied as expected.
Therefore marking this as Reviewed.
Comment #20
saschaeggiThanks!