Steps to reproduce:
- Create new answer with "Uusi vastaus"
- Add new formula with "Lisää kaava"
- Type e.g. "aaa" into the formula
- Move cursor to before the formula
- Press right-arrow a few times
- Type something
- The text is written before the formula. I would instead expect it to be written after the formula
This happens at least on Firefox 118 on Linux.
Here's a screen recording to better visualize the bug:
