Problem/Motivation
On editor init, Media view modes result in a ckeditor5-dll.js?v=34.0.0:5 toolbarview-item-unavailable {name: 'drupalMedia:viewMode'} error if alignment is not also enabled for media. Failing test will be added in a comment
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 3276974-10.patch | 3.15 KB | wim leers |
| #2 | viewModesRequireAlignment-TEST-ONLY.patch | 3.11 KB | bnjmnm |
Issue fork drupal-3276974
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 #2
bnjmnmComment #4
wim leersComment #7
hooroomooThankfully a simple fix 😅🤠
Comment #8
nod_test still failing
Comment #9
hooroomooComment #10
wim leers🚢
MR commit
a2dd10bbin patch form should apply to all 3 branches.Comment #14
bnjmnmCommitted to 10.0.x and 9.4.x as well as a backport to 9.3.x as CKEditor is experimental and this is a bug that should be fixed there as well.
Comment #15
catchI think this broke HEAD, looks like potentially a frequent random fail, haven't looked beyond finding this in the list of recent commits in roughly the same area: https://www.drupal.org/pift-ci-job/2370367
Comment #16
catchSince there are a lot of issues trying to land this week, I have reverted this only from 10.x in the hope of getting DrupalCI back to green. If this issue is indeed the source of the failures, then we can recommit to 10.x with the fix,and backport the testing fix to 9.4.x and 9.3.x (or if it turns out to be really tricky, we could rollback from 9.4/9.3 for a bit too, but left it for now).
Comment #18
lauriiiI think those tests are testing CKEditor 4 which makes it seem unlikely that this issue would have caused them 🤔
Comment #20
catchhmm good point, bit too quick there. Reverted the revert...