codex-team / editor.js

A block-style editor with clean JSON output
https://editorjs.io
Apache License 2.0
28.52k stars 2.08k forks source link

Not working Delete button with blocks #2464

Closed Flashantik closed 1 week ago

Flashantik commented 1 year ago

When selecting multiple paragraphs and pressing the delete key, nothing happens, the backspace key works as expected.

Steps to reproduce:

  1. Open editorjs
  2. create block with text
  3. select block or blocks
  4. press delete button on keyboard

Expected behavior: blocks would be removed

Screenshots:

https://github.com/codex-team/editor.js/assets/25429994/08defd5b-ac8a-48ed-b449-28238f8a873f

Device, Browser, OS: MacOS, Chrome

Editor.js version: last

Plugins you use with their versions: none

lijie1129 commented 1 year ago

Hi, @Flashantik

I can't reproduce this issue. Has this issue been fixed?

https://github.com/codex-team/editor.js/assets/5371749/fd44e784-62f6-48f8-b3d4-42fcce451141

Flashantik commented 1 year ago

Hi, @Flashantik

I can't reproduce this issue. Has this issue been fixed?

reproduce.mp4

You are press backspace, "backspace" button works fine! But not working "delete" button. In Mac fn + backspace. Check out my video, there's a delete button.

Screenshot 2023-09-19 at 13 32 53

There is a backspace

Screenshot 2023-09-19 at 13 36 04
neSpecc commented 1 year ago

@Flashantik What Editor.js version do you use?

lijie1129 commented 1 year ago

Hi, @Flashantik I can't reproduce this issue. Has this issue been fixed? reproduce.mp4

You are press backspace, "backspace" button works fine! But not working "delete" button. In Mac fn + backspace. Check out my video, there's a delete button. Screenshot 2023-09-19 at 13 32 53 There is a backspace Screenshot 2023-09-19 at 13 36 04

Hi, @Flashantik

Thanks for your reminder.

This problem cannot be reproduced in version 2.29.0-rc.1, but it can be reproduced in https://editorjs.io/ (it is currently using version 2.26.5), so this problem has been fixed in version 2.29.0-rc.1.

image
Flashantik commented 1 year ago

Hi, @Flashantik I can't reproduce this issue. Has this issue been fixed? reproduce.mp4

You are press backspace, "backspace" button works fine! But not working "delete" button. In Mac fn + backspace. Check out my video, there's a delete button. Screenshot 2023-09-19 at 13 32 53 There is a backspace Screenshot 2023-09-19 at 13 36 04

Hi, @Flashantik

Thanks for your reminder.

This problem cannot be reproduced in version 2.29.0-rc.1, but it can be reproduced in https://editorjs.io/ (it is currently using version 2.26.5), so this problem has been fixed in version 2.29.0-rc.1.

image

Yeah in 2.29.0-rc.1 always is ok. I'll wait for the release