-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Triple click into paragraph selects paragraph and next element #1839
Comments
I can confirm it. It occurs only in Chrome. |
It's a really tricky case to handle. The browser puts the end of the selection in the 2nd line to show that the line break was selected. This makes the end of the selection end up inside the image. Which creates an incorrect state of the model so we want to fix it. And we can either shrink or extend the selection. Since we don't have (at that moment) an information about the origin of the selection change, we always do one thing – we extend the selection. This can be handled in a better way but it will require siginifican amount of work. Related issue: https://github.com/ckeditor/ckeditor5-widget/issues/83 |
Other: Improved performance of `TreeWalker` by up to 40%. This optimization affects common tasks such as loading editor data. Closes #6582.
Similar to this issue, but maybe it needs another one : When we insert a |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue. |
Is this a bug report or feature request? (choose one)
🐞 Bug report
💻 Version of CKEditor
Latest mater
📋 Steps to reproduce
✅ Expected result
Only paragraph is selected
❎ Actual result
Paragraph and image are both selected. (Or paragraph and table if clicked before table)
The text was updated successfully, but these errors were encountered: