ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Firefox: Invalid behavior when moving the keyboard focus to an editor using Tab

Open davidpolberger opened this issue 9 years ago • 2 comments

🐞 Bug report

💻 v1.0.0-alpha.1

📋 Steps to reproduce

  1. Go to https://ckeditor5.github.io/ using Firefox 55.
  2. Press Tab six times, until the editor is focused.
  3. Start typing a sentence with spaces.
  4. Try to delete what you just wrote using Backspace.

✅ Expected result

The caret should appear just before the first heading. Space characters should be correctly inserted. Deleting characters using the Backspace key should work, without affecting other parts of the document. This is what happens when Chrome is used.

❎ Actual result

A new line is created before the first heading (outside of a paragraph block). Typing correctly inserts text, but spaces cannot be inserted. When an attempt is made to delete characters using Backspace, empty paragraph blocks are inserted.

📃 Other details that might be useful

Screencast

davidpolberger avatar Oct 27 '17 23:10 davidpolberger

Hi, thanks for your detailed bug report. Actually, we are aware of this bug and it occurs when the editor is focused differently than by mouse left button click (see https://github.com/ckeditor/ckeditor5/issues/562).

We have open PR which fixes this issue, so you can track it here - https://github.com/ckeditor/ckeditor5-engine/pull/1151.

Mgsy avatar Oct 30 '17 08:10 Mgsy

Great, thanks!

davidpolberger avatar Oct 30 '17 10:10 davidpolberger