Quote block: Fix group transform behavior#70174
Quote block: Fix group transform behavior#70174Sukhendu2002 wants to merge 1 commit intoWordPress:trunkfrom
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. |
|
Thanks for working on this, @Sukhendu2002! Unfortunately, I don't think there's a consensus on how to resolve this problem. For similar issues, I would recommend continuing the discussion in the ticket until it becomes actionable. Technical noteYou can remove the transformation in question, and the block editor will default to the wildcard transformation just like other blocks. |
What?
Closes: #58042
Fixes an issue where grouping a Quote block would transform it into a Group block with the quote content converted to a Paragraph block.
Why?
When users select the "Group" option from a Quote block's toolbar, the current behavior transforms the Quote block into a Group block and converts the quote content to a Paragraph block. This is unexpected behavior - the Quote block should be wrapped in a Group block while maintaining its original structure.
Testing Instructions
Screenshots or screencast
Screen.Recording.2025-05-21.at.1.28.46.PM.mov