You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
At Mintter block Identity is really important. Specially because we let users create references to content inside blocks using its ID. I Notice that when I press Enter or Backspace in front of any block with content. I understand block identity might not be relevant to most use cases, but I find this could be a problem when you rely on content being accessible by a particular block ID.
To Reproduce
write some content in a block and remember the block id
move the cursor to the beginning of the block
press Enter or Backspace (backspace if you are not on the first block of the document or of a nested list)
see the blockID changed to the current block content.
Here's a video showing how the ID of the block changes when I press Enter in front of a block
Screen.Recording.2024-01-29.at.12.53.39.mov
And here's what happens when pressing Backspace in front of a block
Screen.Recording.2024-01-29.at.12.55.05.mov
How to solve this
I did some work to solve this on our side, and if this is relevant to the library I can share the solution with it.
Describe the bug
At Mintter block Identity is really important. Specially because we let users create references to content inside blocks using its ID. I Notice that when I press
EnterorBackspacein front of any block with content. I understand block identity might not be relevant to most use cases, but I find this could be a problem when you rely on content being accessible by a particular block ID.To Reproduce
EnterorBackspace(backspace if you are not on the first block of the document or of a nested list)Here's a video showing how the ID of the block changes when I press
Enterin front of a blockScreen.Recording.2024-01-29.at.12.53.39.mov
And here's what happens when pressing
Backspacein front of a blockScreen.Recording.2024-01-29.at.12.55.05.mov
How to solve this
I did some work to solve this on our side, and if this is relevant to the library I can share the solution with it.