No way to handle an editor change with Backspace and detect region is not collapsed.
📝 Provide detailed reproduction steps (if any)
- Add a enter event listener on the document.
- Listen for backspace.
- See that it's applied AFTER the selection has been mutated
This also applies when you listen to the selection object change listener. The change is applied after the delete character removes the seleciton.
✔️ Expected result
Not TOTALLY sure but probably the selection should be changes AFTER the keydown and before the keyup maybe?
❌ Actual result
Just no way to see the selection at the right time.
📃 Other details
- Browser: latest chrome
- OS: latest macos
- First affected CKEditor version: 23.1.0
- Installed CKEditor plugins: just standard ones really
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
Hi! Thanks for the report. Could you please describe your use case and what you want to achieve? It will allow us to better understand your point of view.
I'm building an outliner and I want to be able to to handle events from ckeditor directly...
Each node is a ckeditor and I'm trying to handle things like multiple note selection so allowing me to get the events properly is really helpful.
There has been no activity on this issue for the past two years. 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.
We've closed your issue due to inactivity over the last year. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).