-
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]: Add useBlockPreview
styles in iframe
#47110
Conversation
Size Change: +4 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
Flaky tests detected in dd0fa73. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3901706919
|
useBlockPreview
styles in iframeuseBlockPreview
styles in iframe
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.
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.
This is testing nicely for me, too... thanks for fixing this up!
What?
Fixes: #47101
In #44298 we separated content styles for the iframe, but styles from
useBlockPreview
were missed. By not having thepointer-events:none
, blocks that were using this hook had unexpected behavior.