Cannot delete blocks with children

Describe the bug
Blocks that have other blocks indented inside them cannot be deleted, until the child blocks are manually deleted or de-dented

To Reproduce
Steps to reproduce the behavior:

  1. Go to any page

  2. Nest one block inside another one, e.g. like this:

  3. Select both and try to delete (pressing “delete”)

  4. See that blocks will not delete, nothing happens when repeatedly pressing the “delete” key

  5. De-dent the child block, like so:

  6. Select both and press the “delete” key, see that delete them both works

Expected behavior
Pressing “delete” with any selected blocks will delete the entire selection

System Information:

  • OS: macOS Monterey 12.3.1 (21E258)
  • Device Manufacturer/Model: MacBook Pro (16-inch, 2021), M1 Pro
  • Anytype Version: 0.25.4

Hi @kira, thanks for posting this bug report! Could you check whether this bug report is the same problem? It does describe a second or more broad issue in one of the later posts within the topic, but I think the original post is pretty similar.

1 Like

Hi, yes it looks like that’s the same issue! Sorry, I did spend about 20 mins searching through to try find out if the issue had already been reported but didn’t find it. Thank you.

A post was merged into an existing topic: Problems with multi-level text