Editor: Inline text editor toolbar z-index#78309
Conversation
|
Size Change: +32 B (0%) Total Size: 7.96 MB 📦 View Changed
ℹ️ View Unchanged
|
| .editor-text-editor { | ||
| @include reset; | ||
| position: relative; | ||
| isolation: isolate; |
There was a problem hiding this comment.
The current stacking context is a relatively nearby ancestor (.interface-interface-skeleton__content), but I'll go ahead and add isolation right here for clarity, since I'm pretty confident it's safe to do so here.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Flaky tests detected in 88d4826. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/25879994727
|

What?
Inlines the text editor toolbar z-index value and removes the now-unused shared z-index map entry.
Why?
This z-index is only used by the text editor toolbar, so keeping it in the shared z-index map adds indirection without coordinating with other layers.
How?
editor-text-editor__toolbarentry from the shared z-index map.z-index: 1in the text editor stylesheet.isolation: isolateto the text editor wrapper so the toolbar's z-index is scoped to the text editor.Testing Instructions
Screenshots or screencast