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 accent library.
Comment | File | Size | Author |
---|---|---|---|
#22 | node-edit-red-light-before.png | 1.54 MB | batigolix |
#22 | node-edit-red-light-after.png | 1.54 MB | batigolix |
#22 | node-edit-red-dark-before.png | 1.54 MB | batigolix |
#22 | node-edit-red-dark-after.png | 1.55 MB | batigolix |
#22 | node-edit-green-light-before.png | 1.54 MB | batigolix |
Issue fork gin-3294537
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
darvanenA few questions here.
Comment #5
saschaeggi@darvanen thanks for testing/reviewing!
Ready for review again :)
Comment #6
saschaeggiNote: There might be a JS error as gin_ckeditor.js uses a function from this JS which will be solved with the refactoring in #3294545: [JS Refactor] gin_ckeditor.js and can safely be ignored in this case.
Comment #7
darvanenOne response, one new question, there's a bit to unpack here I think - happy to chat on Slack if we can make timezones align.
Comment #8
saschaeggiBack to review :)
Comment #9
saschaeggiUpdated, needs review
Comment #10
saschaeggiNote: to test this successfully on an entity containing an CKEditor instance, you'll need to apply the following patch https://git.drupalcode.org/project/gin/-/merge_requests/167.patch as #3294545: [JS Refactor] gin_ckeditor.js uses a function from the accent library.
Comment #11
saschaeggiComment #12
saschaeggiComment #13
Kristen PolFixing tag.
Comment #14
Kristen PolWhoops... 2 tags needed fixing... fixing the other one now.
Comment #15
saschaeggiBack to review 👏
Comment #16
saschaeggiComment #17
saschaeggiComment #18
saschaeggiComment #19
saschaeggiComment #20
saschaeggiComment #21
batigolixComment #22
batigolixI applied the changes, without errors.
I compared 6 situations:
- node edit form, green accent, dark mode
- node edit form, red accent, dark mode
- node edit form, green accent, light mode
- node edit form, red accent, light mode
- admin content view, green accent, light mode
- admin content view, red accent, light mode
I did not detect any issues.
Comment #24
saschaeggiThanks y'all!