Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bug: Deletion of leading new lines in block not possible #2296

Open
nsoticek opened this issue Mar 5, 2023 · 0 comments
Open

Bug: Deletion of leading new lines in block not possible #2296

nsoticek opened this issue Mar 5, 2023 · 0 comments
Labels

Comments

@nsoticek
Copy link

nsoticek commented Mar 5, 2023

Describe a bug: Currently in version 2.26.5 it is not possible to delete leading new lines (<br>) which can be inserted with shift+enter. Looks like this is the same issue as #726, which should already be fixed.

Steps to reproduce:

  1. Try to delete the <br> in editorjs.
{
  "time": 1678038907409,
  "blocks": [
    {
      "id": "990n123EDf",
      "data": {
        "text": "A heading",
        "level": 2
      },
      "type": "header"
    },
    {
      "id": "jxsCeHKOhB",
      "data": {
        "text": "<br>You can't delete the newline above this..."
      },
      "type": "paragraph"
    }
  ],
  "version": "2.26.5"
}

Device, Browser, OS: Tested in Chrome and Edge.

Editor.js version: 2.26.5

@nsoticek nsoticek added the bug label Mar 5, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant