ckeditor
ckeditor copied to clipboard
[5.x]: CKEditor - toolbar overlays are going behind other toolbars
What happened?
Description
Say you have 2 CKEditor fields one after the other. When you click to display the Styles/Add a link/etc its overlay content is underneath the following CKEditor field's toolbar.
Steps to reproduce
- Create 2 CKEditor fields, and the 1st with Styles or anchor option, etc (anything with an overlay menu)
- Edit entry with those fields in a slide out panel
- Click the 1st CKEditor field's Styles to display the overlay and see that it's behind the 2nd CKEditor field's toolbar
Expected behavior
The CKEditor overlays should be above other CKEditor field toolbars.
Actual behavior
The CKEditor overlays go underneath other CKEditor field toolbars.
Craft CMS version
5.6.5.1
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
2 CKEditor fields after one another displayed in a slide out panel of an entry.
Z-index issue examples:
Styles
Anchor
Font Colors
FYI, this doesn't appear to be an issue when not in a slide out panel (when editing the entry in a new tab).
Hi, thanks for reporting! I raised a PR for this.
CKEditor 3.12.0 and 4.7.0 are out with that fix. Thanks again!