When you split an item with Enter key, should the children follow the first or last character?


Imagine you put the cursor before f and hit Enter

Current behavior:

What I’m proposing:

My reasoning is that it’s dangerous for children to follow the wrong item, because you might collapse them and delete all the children without realizing they moved items unintuitively. Personally, it’s unintuitive for them to follow the last character. I consider the first characters the item, the anchor, and the last character is usually a trailing thought that could easily be moved to the children at any time. The fact that trailing thoughts seemingly kidnap the children items scares me and has caused data loss when I don’t notice it happen.

  • current behavior, children follow last character
  • proposed behavior, children follow first character

0 voters