Skip to content
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

Only show available image sizes in block editor / post editing context #125

Open
roborourke opened this issue Jan 21, 2021 · 0 comments
Open

Comments

@roborourke
Copy link
Contributor

The cropping UI shows all registered image sizes but in order to maintain compatibility with the image block only image sizes with a label (added via a filter) that the editor is aware of can be inserted into the editor.

Because the size selected in the modal that is being cropped is the size inserted (if allowed) it is confusing when trying to insert a crop or size that is not supported in the editor.

The UI should only show the image sizes that can be inserted the editor when the modal has been opened from an image block or similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants