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.
Problem/Motivation
Drupal.ckeditor5.openDialog()
implements a loading animation. However, that isn't styled, and is only visible on the very bottom of the page.
Proposed resolution
Implement proper loading animation for when dialog is being opened.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#18 | 3248448-18-9.3.x.patch | 2.69 KB | Wim Leers |
#9 | 3248448-9-d10.patch | 2.42 KB | lauriii |
| |||
Screen Shot 2021-11-09 at 14.14.42.png | 55.29 KB | lauriii |
Issue fork drupal-3248448
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:
- 3248448-dialog-loading-text changes, plain diff MR !1714
Comments
Comment #2
Wim LeersCKEditor 4 has something nice for this: #1879120-61: Use Drupal-specific image and link plugins — use core dialogs rather than CKEditor dialogs, containing alterable Drupal forms:
I think matching that would be fine?
Comment #3
lauriiiThis would work for Seven, but Claro has its own designs for throbbers: https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Drupal-Design-system...
Comment #4
Wim LeersComment #5
Wim LeersIn the current implementation, this only affects the
drupalMedia
plugin.Comment #9
lauriiiLooks great! Tested manually with both, Seven and Claro and the fullscreen throbber is showing up as expected. Here's also a Drupal 10 version of the MR.
Comment #10
ckrinaTesting this I've found a small bug for the throbber in Firefox, not related to this issue. I've opened a follow-up to address it: #3260576: Throbber on Firebox renders different.
Comment #13
ckrinaCommitted 275f8b5 and pushed to 10.0.x. Also committed the 9.x patch to 9.4.x. Thanks!
Comment #14
Wim LeersWoah, that was really fast!
Comment #17
catchRe-opening for 9.3.x backport.
Comment #18
Wim LeersPatch from local chery-pick.
Comment #20
lauriiiCommitted 77535b7 and pushed to 9.3.x. Thanks!