ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

No way to handle an editor change with Backspace and detect region is not collapsed.

Open InputNeuron opened this issue 5 years ago • 4 comments

📝 Provide detailed reproduction steps (if any)

  1. Add a enter event listener on the document.
  2. Listen for backspace.
  3. 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.

InputNeuron avatar Feb 05 '21 04:02 InputNeuron

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.

Mgsy avatar Feb 12 '21 08:02 Mgsy

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.

InputNeuron avatar Feb 13 '21 02:02 InputNeuron

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.

CKEditorBot avatar Sep 06 '23 06:09 CKEditorBot

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).

CKEditorBot avatar Oct 13 '23 05:10 CKEditorBot