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
#1511: Undo and change notification for object resizing in IE #88
Conversation
…ot working correctly. Native resizestart and resizeend events are now tracked in IE to create undo snapshots when objects (e.g., images) have been resized. This does not address the issue in other browsers.
Thanks! :) We'll review your PR for 4.4.1, because 4.3.4 is already frozen. In the meantime, I noticed that your patch tries to add And the second thing - your patch fixes |
Thanks for your comments! I did try to hook the bubbled events on the editable but it didn't work, at least in my version of IE. Using Thanks, |
Updated patch to move code to editable.js and use bubbled events. |
… not working correctly. Native resizestart and resizeend events are now tracked in IE to create undo snapshots when objects (e.g., images) have been resized. This does not address the issue in other browsers. Moved original fix to editable.js so that it works in all editing modes.
We've reviewed your pull request with following results: The general direction is very good, you've done good job with simplifying the code. We miss two things in your pull request:
We're looking forward for your pull request with these issues fixed! :) |
@mlewand This pull request is good enough. Please fix the minor issue mentioned in 1. and as for the 2. - Firefox is a separate problem. So please proceed with this pull request. |
Surprise, surprise. During last review I noticed that when using @bingnz: Sorry for the mess and wasting your time, because your first pull request was actually closer to what we need. However, there's also this ticket https://dev.ckeditor.com/ticket/9317 and they both need to be fixed by one patch, so I'm closing your pull request, because we'll have to refactor more code. |
I've never had a chance to test MutationObserver in contenteditable. I'm never optimistic regarding a new feature's compatibility with contenteditable, but I know that the author of the onchange plugin was using it. |
Native resizestart and resizeend events are now tracked in Internet Explorer to create undo snapshots when objects (e.g., images) have been resized.
This does not address the issue in other browsers.