-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Block editor: move content styles to avoid triggering iframe compat mode #46728
Conversation
Size Change: -48 B (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
I found today that the Query Loop block and its inner block's inspector controls are out of whack. The git bisect points to the commit for this PR. At first glance it didn't appear this PR should cause any dramas there so I re-ran the bisect again with the same results. Manually checking out the commit prior to this one works as expected. I've created an issue for this #47101. Would you have any ideas on what the issue is @ellatrix? |
@andrewserong It looks like there's a rule |
What?
Currently there's some new styles in the block-editor stylesheet that target blocks (content). These should be added to a separate content stylesheet so they can be properly added inside the iframe without using compat mode.
Why?
We shouldn't use compat mode in core, it's meant for plugin compat.
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast