-
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
Add opt out mechanic for pattern overrides #59605
Conversation
Size Change: +370 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
As this didn't land in 6.5 I'm closing this in favour of more detailed explorations during the 6.6 cycle. |
What?
Adds ability to opt out of pattern overrides when renaming blocks.
Explores opposite path to #59583.
Why?
By default, block names (
attributes.metadata.name
) is used as the key for pattern overrides. Therefore if a pattern creator renames a block within a pattern then it will automatically become overridable.This has been the subject of much debate and several options have been proposed to move forward.
This PR proposes that the solutoin be that
How?
metadata.name
.Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Screen.Capture.on.2024-03-04.at.17-01-28.mp4