Closed ellatrix closed 1 day ago
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 props-bot
label.
If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
Co-authored-by: ellatrix <ellatrix@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: stokesman <presstoke@git.wordpress.org>
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.
Size Change: +14 B (0%)
Total Size: 1.81 MB
Filename | Size | Change |
---|---|---|
build/block-editor/content-rtl.css |
4.43 kB | -27 B (-0.61%) |
build/block-editor/content.css |
4.42 kB | -27 B (-0.61%) |
build/block-editor/index.min.js |
254 kB | +13 B (+0.01%) |
build/block-editor/style-rtl.css |
15.4 kB | +30 B (+0.2%) |
build/block-editor/style.css |
15.3 kB | +25 B (+0.16%) |
What?
A misplaced CSS rule was uncovered by https://github.com/WordPress/gutenberg/pull/66432#issuecomment-2447923002.
Currently, the CSS rule that targets the empty-paragraph inserter is placed in the block editor's
content.css
file rather than itsstyle.css
, even though the empty-paragraph inserter is a popover that is rendered outside the canvas. Only block list appenders are rendered inside the canvas.This was not an issue before #66432, because we were rendering all the content styles outside the iframe too!
Why?
Fixes https://github.com/WordPress/gutenberg/pull/66432#issuecomment-2447923002.
How?
Move the rule that targets the popover to the appropriate stylesheet.
Testing Instructions
The change in #66432 only affects the Site Editor.
Testing Instructions for Keyboard
Screenshots or screencast