I'd check three spots in teamDocSync.ts.
followOnline's syncing phase: edits aren't sent to the server until install(handler), so anything typed between the snapshot and story.restore is wiped, and anything after it is never sent.
The handler's "unreachable" branch: a call