-
-
Notifications
You must be signed in to change notification settings - Fork 495
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Initial checklist
- I agree to follow the code of conduct
- I searched issues and discussions and couldnโt find anything (or linked relevant results below)
Problem
I wonder if there could be a way to configure a maximum width/height for images uploaded into the editor. The idea is not that it would prevent larger images from being uploaded but that it would calculate the correct ratio so that the image is presented within the bounded dimensions.
Is there a way to achieve this currently?
Thank you!
Solution
When configuring the ImageBlock, there could be options for assigning a maxWidth and maxHeight.
Alternatives
If there was a way to programmatically set an image's ratio, that would work too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
๐ New