mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-23 18:51:11 +00:00
A web-based collaborative LaTeX editor
ShareJS will accept an op where p > content.length when applied, and it applies as though p == content.length. However, the op is passed to us with the original p > content.length. Detect if that is the case with this op, and shift p back appropriately to match ShareJS if so. |
||
---|---|---|
services/track-changes |