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
{{ message }}
Repository navigation
Note: Pressing Enter mid-note replaces the thought text with part of the note #6001
The thought text is replaced with the text before the caret, and the text after the caret becomes a new thought:
- eee
- =note
- eee fff ggg
- fff ggg
Expected Behavior
In this case
The thought and its note should be unchanged, and a new empty thought should be created below aaa bbb ccc ddd with the cursor on it:
- aaa bbb ccc ddd
- =note
- eee fff ggg
-
In general
Pressing Enter in a note should never change the text of the thought or the note, wherever the caret is in the note. It should create a new empty sibling below the note's thought and move the cursor to it.
Activity
raineorshine commentedon Oct 15, 2026
Good catch!
Add skipped test for Enter mid-note (#6001)
Do not split the cursor thought when Enter is pressed in a note (#6001)
Check the event target for a note so the multicursor path cannot split (