Cannot delete dates in notes

Describe the bug
If I create a date inside a note using the @ symbol (like @yesterday), after a date object is created, I cannot delete nor select it using mouse or backspace. However, if a whole block containing the date is selected, it an be deleted using Backspace.

To Reproduce

  1. Create a note
  2. Add a date using the @ symbol
  3. Try to delete it using backspace

Expected behavior
I should be able to delete and select the date.

System Information:

  • OS: MacOS 12.3.1 (21E258)
  • Device Manufacturer/Model: MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
  • Anytype Version: 0.25.4

Edit: misprinted the version

Here’s a video demonstrating the bug:

This bug goes for all @ mentions to objects, not just dates (since it just created an object). And it doesn’t matter if you have the @ mention on it’s own in a block of in the middle of a sentence. When backspacing it stops at the @ mention link.

However, using the delete key when the cursor is in front of the @ mention it does delete it!

So it seems only backspace is affected by this bug!

1 Like