Problems with multi-level text

Describe the bug
Cannot delete multi-level text

To Reproduce
Steps to reproduce the behavior:

  1. Input text with two levels
    Screen Shot 2022-05-02 at 10.26.55
  2. Choose Level 1, clict delete
  3. The text is still there

Expected behavior
The whole text should be removed

System Information:

  • OS: Mac OS Monterey 12.2 (M1 Chip)
  • Device Manufacturer/Model: Apple
  • Anytype Version: 0.25.4
2 Likes

I’m adding the Desktop tag as I can delete multi-level/nested blocks on Android.

1 Like

Seems that the problem has to do with nested blocks in general.

Duplicating nested blocks (this only occurs when both nested and non-nested blocks are selected):


(in the video above, the duplication shortcut [CTRL/CMD + D] is being used)

There are also a myriad of issues concerning nested blocks and Toggles:

1 Like

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
1 Like