Not sure if this is me doing something dumb or if it is an OnlyOffice thing.
Background
I am hosting the doc server locally using the official docker image. I have a minimal backend for accessing documents. The backend seems to sign JWT token fine, the documents open and I can edit them. I see that my write callback is called once (before being read with status 1) and when I close the document, the write callback is issued again with an URL to the document where my edits have reflected. For the editor I use the official react component (@onlyoffice/document-editor-react). I should add that my write callback always returns {error: 0} and doesn’t save the document, so when opening the key again its all borked, but thats to be expected.
The Issue
Everything works great, except…
When I edit the document and the document auto-saves, many if not most of the text rows I’ve written become immutable, i.e. I can no longer edit them. If I move my cursor up to them the entire menu goes gray and I cant type anything. There seems to be a correlation between line immutability and hovering the line with the mouse; on the immutable lines it says my collab name on the left hand side, on the once I can edit, it says nothing. So, my gut feeling is that it thinks I am logged in multiple times on the same document or something?
I dont see any access to my document server, or anything in the docker logs when the issue happens. Seems to be much more significant in strict mode than in fast mode? A bit unclear as to which lines are affected, but the most recent created?
Any help is greatly appreciated