Fix: Global styles affect all form elements ( Form Block ) #70392
Conversation
|
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. |
t-hamano
left a comment
There was a problem hiding this comment.
LGTM!
I believe there should be no reason for this block to need the __experimentalSelector.
|
Unfortunately, it seems that recent changes in the core are causing E2E tests to fail. Let's wait until that issue is resolved. |
This is a known issue and is not related to this PR, so let's merge this PR. See https://wordpress.slack.com/archives/C02QB2JS7/p1749712750681339 |
…#70392) Co-authored-by: Rishit30G <rishit30g@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org>
What?
Closes #56784
Why?
The styles changes for the form element is affecting other block styles
How?
This PR removes the
"__experimentalSelector": "form"from the form's block.jsonTesting Instructions
Screenshots or screencast
Before
Screen.Recording.2025-06-12.at.10.00.09.AM.mov
After
Screen.Recording.2025-06-12.at.10.09.11.AM.mov