-
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
Lock the experimental clearBlockSelection editor setting #47591
Conversation
Size Change: +4 B (0%) Total Size: 1.31 MB
ℹ️ View Unchanged
|
If I understand correctly this settings is not used by first party code and is meant to be used by third party ones. By locking it they are not going to be able to update this setting. |
It's true. I don't think it'd be impossible to update the setting, but maybe too difficult. It'd also be hard to support in a backwards compatible way (supporting both versions of Gutenberg that use lock and those that don't) I guess the best thing is to stabilize it. I'll put together another PR (#47627). |
What?
See #47196
The
__experimentalClearBlockSelection
editor setting was introduced in a contributor PR - #44517.It's unclear whether this is ready for stabilization. New experimental PRs should use the locking system introduced in #46131 in advance of WordPress 6.2, so I'm changing the implementation in this PR.
It's also worth noting that there are some proposed changes in #40450 that might conflict with the idea of this setting.
How?
__experimental
prefix from the settingprivateSettings
array.Testing Instructions
There should be no change in the behavior in
trunk
.