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 }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
Basically, the runInOp is wrapped around the addNewLineAndIndent function so the new line ends up being created and moved to after we go into insert mode which is muddling things up. I just wrapped the enterInsertMode function in a timeout to push it to the next run loop so all the operations should have finished.
Reproable on the demo site. I made a pull request that fixes the issue.
Link to PR
Basically, the runInOp is wrapped around the addNewLineAndIndent function so the new line ends up being created and moved to after we go into insert mode which is muddling things up. I just wrapped the enterInsertMode function in a timeout to push it to the next run loop so all the operations should have finished.