-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 component styles needed for iframes to content styles #47103
Conversation
Size Change: +254 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in 249ea8d. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3908139167
|
The |
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 👍 good catch
Follow-up on: #44298
What?
This PR moves some of the block editor component styles to be applied to the iframe editor instance. This will ensure that the styles of some components are applied correctly.
Why?
In #44298, some component styles in the block editor package are now split and loaded into the iframe editor instance.
However, I think the following component styles should be loaded into the iframe:
(Fixed by [Block Editor]: Move block variation picker styles in the iframe #47109)block-variation-picker
: Used for variation pickers like the column blockwarning
: Used for UI to recover when a block is brokenblock-icon
: Used for the title icon of the placeholder componentHow?
I moved
block-variation-picker
andwarning
fromstyle.css
tocontent.css
. Forblock-icon
, I copiedstyle.css
and createdcontent.css
since it is also used in the sidebar.Testing Instructions
Paste the following markup into the editor and confirm that the styles are applied correctly.
Test Data
Screenshots or screencast