Moving a newly-created block deletes text

Describe the bug
If I create a new block in an object, type some stuff in it, and then use ctrl+shift+arrow to move the block, it moves the block but also deletes all the text I just typed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to an object page
  2. Type some text in a new block
    Do NOT hit enter
  3. Press ctrl+shift+up arrow
  4. See the following:
    As you can see, the block I was typing in was moved up between the two blocks above it, but all the text I typed is gone.

Expected behavior
The block should be move and the text should still be there, like so:

System Information:

  • OS: Windows
  • Anytype Version: 0.23.5

I confirm, I just reproduced the bug, but the :warning: DO NOT HIT ENTER :warning: is indeed essential.

I would imagine that upon first creating a block, the contents aren’t “saved” properly until you hit enter - so until you hit enter, the app itself just views the block as empty.

This would be rather worrying, especially for those who write very long paragraphs before hitting Enter.

1 Like

This could indeed be how Anytype functions at this moment or is a bug. If it is intended behaviour there should be a warning when that you lose your text when doing something like this without hitting enter. So you don’t lose anything.

This was mentioned as fixed in the release notes of 0.24.0
Can you confirm that?

Yes, this appears to be fixed now! Thank you!