-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Backmerge block renaming fixes/refactors from 6.4 branch into Gutenberg trunk #56386
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
Backmerge block renaming fixes/refactors from 6.4 branch into Gutenberg trunk #56386
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
|
Size Change: +156 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
This comment was marked as resolved.
This comment was marked as resolved.
scruffian
left a comment
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.
Code looks good and tests well
| const supportsBlockNaming = !! ( | ||
| true === metaDataSupport || metaDataSupport?.name | ||
| ); |
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.
I think this is a mistake.
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.
We only need to check for renaming support.
|
I believe the Puppeteer tests have actually passed despite them not reporting to Github. |
What?
Back merges the refactors that were undertaken directly in the
wp/6.4branch to improve Block Renaming support.Namely:
Also fixes this Issue report.
Part of #55643
Why?
The WP 6.4 branch got ahead of this branch due to the nature of some bugfixes that had to land directly in the 6.4 branch because Gutenerg trunk had already progressed during the 6.4 Beta/RC cycle.
So now we bring Gutenberg back into line with the improvements in 6.4 whilst also retaining the improvements already in
trunk.How?
trunkis restored.Testing Instructions
Advancedpanel also behaves as expected and changes are synchronised to the List View.Headingblock (note: the block that is not selected).Renameoption once in the menu.Testing Instructions for Keyboard
Screenshots or screencast