-
Notifications
You must be signed in to change notification settings - Fork 280
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
Problem with resizing images in Firefox #582
Comments
Hello, The problem is that AlloyEditor doesn't deal with image resizing in Firefox. This is it's native behavior. For WebKit browsers there is a plugin, but for Firefox and IE it is disabled, since they provide support for image resizing OOTB. In case of Firefox, maybe they don't like the styles AlloyEditor applies to the image when it is being centered. Unfortunately, I'm not quite sure what other styles we could apply to make them happy and still to have image centering. Thanks, |
Any idea where I can disable Firefox behaviour and maybe try the webkit plugin? If at all possible? |
Disabling Firefox behaviour and also letting it check whether the browser is Firefox or not solved this for me. Without any side effects at first glance. May need more checks to make sure nothing else gets broken of course. |
Good! Then, would you like to send us a pull request? We may change the default behavior and use the plugin in Firefox too. Thanks, |
Enables dragresize plug-in in Firefox and disables default browser behaviour.
The handles to resize an image are placed incorrectly when the image in centered...
example image (tried it with the web demo to make sure there was nothing wrong with my setup)
This appears on the latest version of Alloy Editor (1.2.3) on Mozilla Firefox. It doesn't happen at all on Google Chrome.
Another, possibly related, issue I have with images is that whenever you change the alignment, the resize handles aren't updated directly, only when clicking somewhere else and clicking again on the image.
There are no error messages in the console.
The text was updated successfully, but these errors were encountered: