When long mathjax equation renders, the cursor appears in the wrong position

I’ve looked a bit but it doesn’t seem this has been reported before.

When writing equations with mathjax, when the equation renders, the cursor is displayed in the wrong place. More precisely, I mean when hitting space after the closing $ is inserted, the cursor displays somewhere inside the equation itself (depending on how long it is). Writing anything afterwards will fix the placement, so nothing gets actually written in the wrong place.

Here’s a snapshot to better show what I mean

Steps to reproduce

Just write something like $\text{qwertyuiop}$ (left to right, so no typing opening and closing $ before the rest).

Weirdly enough, this doesn’t seem to happen all the times. Even when it happens, if I go back to the same equation, change it, and render it again, the issue won’t happen again. I realise this might make the issue hard to replicate, so hopefully someone else will also see the same.
I’m not using any third party plugin or anything like that, this is a fresh installation of Obsidian on Windows 11.


  • Operating system: Windows 11
  • Debug info:

Obsidian version: v0.13.14
Installer version: v0.13.14
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Safe mode: on


post a screen recording of this happening in the help vault.

Thanks for getting back at me! Here’s a screen recording:


Hope this helps.

I can’t reproduce in 0.13.18. Let me know when you get it.