Cursor intermittently jumps to start of line when creating markdown headings
Author: claygitsCreated Sep 13, 2026Updated Sep 13, 2026
Labelsbug
Have you read a contributing guide?
- I have read CONTRIBUTING.md
- I have searched the existing issues and didn't find any that were similar
- I have considered creating a pull request with fixes instead of a bug report and want to proceed
Current Behavior
Often when I create a new heading using Markdown syntax, the cursor will jump to the start of the line after I type the first letter, resulting in a jumbled word. For example, if I attempt to create a Heading 1 titled "Heading" by typing
# Heading
what I will end up with is
eadingH
This happens when I'm typing naturally, as it clearly takes a moment for the line to update its formatting to the new heading format. If I type the octothorpe(s) and a space and wait a second, the formatting will update, then I can type my heading.
Expected Behavior
When I type # Heading, I should see
Heading
Steps To Reproduce
- In a new text block
- Type 1 to 3
#characters in a row, followed by a single space, then the text of the heading (e.g.# Heading) without pausing between the space and the text of the heading
Environment
- OS: Windows 11
- Version: AnyType 0.56.5Anything else?
Source: anyproto/anytype-ts