Collaborative Editing in CodeMirror
Summary
A technical post detailing the design decisions behind CodeMirror 6's collaborative editing feature, focusing on an operational transformation (OT) approach and the trade-offs with CRDTs. It explains how change sets are represented, how position mapping works, and why centralized collaboration was chosen over a fully distributed model.