Block's text appending to title while erasing

WHAT IS THE BUG

While erasing text in the first block, as cursor erases the first character in the block the block’s text gets appended to note/article/page title.

HOW TO REPRODUCE IT

  1. Press the backspace key to erase text in the first line of text in the first block.
  2. As soon as cursor erases the first character the text would get appended to the title.

THE EXPECTED BEHAVIOR

Cursor should remain at first character’s position in the first block of text and should not append the text to title.

SYSTEM INFORMATIONS

  • OS:
    Windows 10
  • Device:
    HP Envy
  • Anytype Version:
    0.29.1

ADDITIONAL CONTEXT

Please see the screen recording, replicating what I wrote.

2 Likes

@milindpadia thanks for posting.
I actually think this is the intended behavior as the Title of an Object of for example Type “Page” is the same as the first line of Object Types without a Title (for example, "Note). This all depends on the Layout of an Object Type:

image

Only “Note” does not treat the first block as a Title. All other Layouts do.

An Object of Type Page with a Title and one block
image

Then change the Type to Note

See the Block that previously was the Title, is now “just another block”
image

As for Anytype the first block == the title (visualized differently based on Object Type), I would expect I could merge to blocks the same way, whether one of the blocks is a Title or not.

What do you think? Would it make more sense to limit this behavior when the Object Type has a Title

1 Like

Closing as there is no response. Secondly, this seems to be the intended behavior.

1 Like