[Bug] Image resizing doesn't has proper constraint validations leading to exception

Title says all, while resizing an image inserted in editor, there should be validation on constraints to keep it in bounds or else it leads to exception.

ezgif.com-video-to-gif

Steps to reproduce:

  1. Add an image to editor
  2. Try to resize the image to very small proportions
2 Likes