How to lock the resize ratio?
Hi, I am not able to find how to lock the resize ratio, meaning that when I am resizing I would like the image not to get distorted :)
@artknight 。press and hold alt
@scrapooo I have added an option to keep the ratio by setting the ratioLock: true option. Also updated the toolbar to be nicer :) Here is the PR https://github.com/scrapooo/quill-resize-module/pull/8
@artknight Thank you for providing the modification, but I think lockRatio is a good idea. Can you help me add this lockRatio option. I need to consider whether other ideas are appropriate.
My PR https://github.com/scrapooo/quill-resize-module/pull/8 did just that, but you closed it? Why?
@artknight Sorry, I didn't explain why. This pull request wants to be merged into the master, and I expect to be merged into the develop. Another reason is that there are too many modifications and the submission message does not follow the submission specification. https://github.com/angular/angular/blob/main/CONTRIBUTING.md#-commit-message-format
@artknight The toolbar style you provided is very nice, and I decided to adopt it. Thanks.
Hello, the ratioLock: true are not working, the PR was declined, then never was fixed the specification?