codex-team / editor.js

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

Can not delete new line on quote block #2730

Open ShebangDog opened 5 months ago

ShebangDog commented 5 months ago

Describe a bug.

If multiple blank lines are created inside a quoted block, the blank lines cannot be erased.

Steps to reproduce:

  1. Access editorjs demo (https://editorjs.io/)
  2. Place quote block
  3. Write multiple blank lines inside quote block
  4. Press backspace on your keyboard

Expected behavior: remove blank line.

Screenshots:

https://github.com/codex-team/editor.js/assets/38370581/9eb36b34-90f7-4f5a-ba29-ccea3a2bea35

Device, Browser, OS: MacBook Air, Chrome, Mac

Editor.js version: next?(i'm using demo)

Plugins you use with their versions:

ShebangDog commented 5 months ago

Duplicate? Maybe the root cause is the same as this problem ( #2609 ) I don't know how to reproduce this problem.

collimarco commented 5 months ago

It is also somewhat similar to this bug in the list block: https://github.com/editor-js/list/issues/90

Maybe they have the same root cause?

idea-notes commented 2 weeks ago

Still a broblem

Did someone find a solution?