@eigenpal/docx-js-editor@0.0.34 adds real-time collaboration via Yjs. Live cursors, presence, comment sync, and tracked-change attribution across browsers — works with y-webrtc, y-partykit, @liveblocks/yjs, @hocuspocus/provider, or any Yjs provider.
Try it → click Collaborate, share the URL.
Three new props
<DocxEditor
document={createEmptyDocument()}
externalContent
externalPlugins={plugins} // ySyncPlugin, yCursorPlugin, yUndoPlugin
comments={comments} // controlled, mirrored to a Y.Array
onCommentsChange={setComments}
/>externalContent hands the document off to Yjs. Tracked changes sync as part of the PM tree. Comments use the controlled API because their thread metadata lives outside the doc.
Where to go next
- Live demo — click Collaborate, paste the URL into a second tab
- Realtime Collaboration docs — full setup in three steps
- examples/collaboration on GitHub — runnable example