ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

Pressing backspace in code block scrolls the page to the start of the block instead of focusing on the caret

Open dousha opened this issue 2 years ago • 3 comments

📝 Provide detailed reproduction steps (if any)

  1. Create a long code block that's longer than a page's height
  2. Scroll to the bottom of the code block
  3. Press Backspace on a line until the line is cleared

✔️ Expected result

The page should scroll to where the caret is; if the caret is still visible, do not scroll.

❌ Actual result

The page scrolled to the start of the block.

📃 Other details

  • Browser: Edge/114.0.1823.86; Firefox/112.0.2
  • OS: Windows 10 22H2
  • First affected CKEditor version: ...
  • Installed CKEditor plugins: (none)

If you'd like to see this fixed sooner, add a 👍 reaction to this post.

dousha avatar Jul 18 '23 11:07 dousha

This issue could have the same underlying issue as #14028

mlewand avatar Jul 27 '23 14:07 mlewand

The fix could be as simple as #14659 but for a yet another command.

mlewand avatar Jul 27 '23 14:07 mlewand

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.

CKEditorBot avatar Aug 21 '24 01:08 CKEditorBot

We've closed your issue due to inactivity. 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 01 '24 23:10 CKEditorBot