-
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
Replace outdated size controls in core blocks #52223
Comments
__experimentalImageSizeControl
in core blocks
I'm not against switching to ToggleGroupControl, since that's already better than what's in trunk. I was just thinking we might as well switch to a more standard UI pattern that also allows arbitrary values, for example as requested in #62247. |
Perhaps we need a component that consists of the In addition to The Search block has both a field for entering an arbitrary width and the By the way, a design update has been proposed for |
In #65339 we will be working on an incremental update to swap out all the ButtonGroups to ToggleGroupControls. That probably won't fully address this issue, but at least it will fix the outdated styling and accessibility issues. |
Description
ImageSizeControl
(__experimentalImageSizeControl
) was marked as deprecated in #51545.However, there are two core blocks that use this component:Media & Text Media & Text: Replace the deprecated __experimentalImageSizeControl with ResolutionTool #57540Latest PostsJust as this API in the image block was replaced by another API in #51545, I think it needs to be replaced by another API in these two blocks as well.This issue has had its tasks/objectives updated. See this comment.
Step-by-step reproduction instructions
N/A
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: