Hello, thanks for the report!
This is nasty, and I can reproduce it as well, I think the issue is happening when switching between unlocked documents, and if one has at least a code block it glitches out.
Unfortunately I don’t have a short term fix other than to suggest to avoid code snippets as they seem to be the culprit.
On the other hand, If you consider moving to/trying v2, I’d be happy to work something out so you can evaluate it without obstacles.