// before anyone else can cache a reference to appendBuffer
CRDTs are much, much harder to debugI have now implemented collaborative text editors in pretty much all the ways you can. OT, CRDTs, with prosemirror-collab, with prosemirror-collab-commit, with locking. What I will say is that even a minor bug in the “simple” implementation with prosemirror-collab will stretch you to the absolute edge of your sanity.
,更多细节参见TikTok
// projection = ((v · e) / |e|²) e。业内人士推荐谷歌作为进阶阅读
Андрей Шеньшаков