Problem/Motivation
We want to make sure that createDropdown() in core/modules/ckeditor5/js/ckeditor5_plugins/drupalMedia/src/drupalelementstyle/drupalelementstyleui.js continues to work because it is not used anymore. There is value in keeping it because it gives the ability to create button drop downs in the CKEditor 5 toolbar which could be useful to another module or core since it is not an uncommon use case.
Steps to reproduce
Proposed resolution
Add test coverage to ensure that createDropdown() continues to work.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#13 | 3270765-13-9.3.x.patch | 4.83 KB | Wim Leers |
Issue fork drupal-3270765
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:
- 3270765-drupalelementstyles-dropdown-tests changes, plain diff MR !1994
Comments
Comment #2
hooroomooComment #3
Wim LeersThanks!
Adding a test module to make it easy to test this…
Comment #4
Wim LeersHere's the test-only module. This was surprisingly tricky 😬
Comment #6
nod_Looks good to me. Not sure how to test it outside the test, but the test itself makes sense.
Comment #7
Wim LeersComment #8
lauriiiComment #9
alexpottCommitted and pushed fe3d2efd97 to 10.0.x and 3d794cf653 to 9.4.x. Thanks!
Comment #12
catchRe-opening for 9.3.x backport.
Comment #13
Wim LeersPatch from local chery-pick.
Comment #16
lauriiiCommitted 6d95c62 and pushed to 9.3.x. Thanks!