Problem/Motivation
CKEditor 5 has renamed a CSS variable from --ck-z-modal to --ck-z-panel which causes a previous fix for issue #3274937 in core/modules/ckeditor5/ckeditor5.dialog.fix.css to fail to apply. As a result, CKEditor 5 dialogs may incorrectly appear behind jQuery UI dialogs.
Proposed resolution
Rename the variable in core/modules/ckeditor5/ckeditor5.dialog.fix.css to --ck-z-panel to match the CKEditor 5 change.
Issue fork drupal-3453320
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
timurtripp commentedComment #4
timurtripp commentedComment #5
timurtripp commentedComment #6
catchComment #7
smustgrave commentedSeems straight forward. but can MR be updated for 11.x please.
Comment #10
timurtripp commentedDone.
Comment #11
timurtripp commentedComment #12
smustgrave commentedThanks
Comment #14
alexpottCommitted and pushed 703830324b to 11.x and c6702c5ed9 to 11.0.x and b4ffe7ef4b to 10.4.x and 162678726c to 10.3.x. Thanks!
It might be great if there was a test somewhere for this. I didn't make it a requirement for merging because of the regression but given we have CSS to address the issue and we integrate ckeditor and jQuery perhaps a test is worth it.
Comment #18
foxy-vikvik commentedIt is still not fixed.
Comment #19
kksandr commented.ui-dialog ~ .ck-body-wrapperThis does not solve the problem if an instance of CKEditor was already placed on the page and after that the dialog was opened. Then
.ck-body-wrapperwill be before.ui-dialogComment #20
kksandr commentedI suggest overriding the
--ck-z-panelvariable without additional conditionsComment #21
kksandr commentedWork on the issue I mentioned in #19 continues here https://www.drupal.org/project/drupal/issues/3328425 so I return the status to "Fixed" since the original issue has been fixed, the variable has been renamed.
Comment #23
quietone commentedUpdate version to the branch this applies to.