-
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
Latest Posts: Replace the deprecated __experimentalImageSizeControl with ResolutionTool #57534
Conversation
Size Change: -82 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
@ajlende. Hi. I am trying to replace the deprecated __experimentalImageSizeControl in the latest posts block. If not, I think we need to fully implement the dimension tool with the scale and aspect ratio for the latest posts block. I am not sure yet how this will work for existing latest posts blocks that already have the 25/50/75/100 % width setting enabled. CC @t-hamano |
Flaky tests detected in ac73e2b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7897999148
|
What?
ImageSizeControl (__experimentalImageSizeControl) is used in the latest posts block. It was marked as deprecated in #51545.
This PR replaces __experimentalImageSizeControl with the ResolutionTool.
Partial for #52223
Why?
Deprecated controls should not be used.
How?
Adds the new tools panel and moves the existing featured image options to this panel.
Replaces __experimentalImageSizeControl with the ResolutionTool.
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast