When characters are updated the cursor position is reset
So typing a comment is made more complicated because when I insert a double quote in the middle of the text, the cursor moves position to the end of the text.
Noting this bug: inserting a double quote in the middle of your draft moves the cursor to the end. I'll flag it, but please share exact steps to reproduce (paste the full snippet, browser, and editor version). Also check if it happens with single quotes or other characters. That will help confirm scope and prioritize a fix.