-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Edge] Selection moves to a block before an image after dragging it to a next block #1079
Comments
@Reinmar: I was debugging this and I didn't find a reason why although selection is fixed and set to proper new selection it is later changed by either a browser or something else. The thing is that after selection post-fixer fix the selection that spans over widget (and ends on it) the selection is either wrongly set in the view or the browser "fixes" it so the selection observer detects new selection. It also sets it the collapsed selection at the end of selection (either end of a widget or end of text - when selection starts on widget). One thing helps a bit: removing Now the selection "stops" on the widget BUT is properly rendered in the view. Below are screenshoots of the same salection - starting in paragraph and moving it below the the image: Unfortunately in both cases selection stops... ps.: Oh and also removing |
Is this a bug report or feature request? (choose one)
🐞 Bug report
💻 Version of CKEditor
Latest master.
📋 Steps to reproduce
✅ Expected result
Two blocks are selected.
❎ Actual result
The selection moves to the block above the image.
📃 Other details that might be useful
GIF
The text was updated successfully, but these errors were encountered: