Problem/Motivation

When using a ckeditor feature or other popup dialog inside Gutenberg, the unnecessary high z-index causes balloons inside the popup to be shown behind the editor. There's an "!important" value of 1000000 for ui-dialogs.

Steps to reproduce

Create a Gutenberg plugin that opens a CKEditor window for editing of features not possible in Gutenberg, such as an advanced table editor. Click inside the content for a CKEditor 5 balloon to show. The balloon will not be displayed.

Proposed resolution

Lower the z-index of .ui-dialog to 1260, which is what's being used by several admin themes.

Issue fork gutenberg-3408193

Command icon 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

svenryen created an issue. See original summary.

svenryen changed the visibility of the branch 3408193-z-index-of-ui-dialog to hidden.

svenryen changed the visibility of the branch 3408193-z-index-of-ui-dialog to active.

szeidler changed the visibility of the branch 3408193-z-index-of-ui-dialog to hidden.

marcofernandes made their first commit to this issue’s fork.

eiriksm’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.