0.x post|This post uses the 0.x package names and APIs. For the current release see the 1.x docs and the migration guide.
@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 → mints a fresh room and drops you in. Share the URL to invite a second tab or colleague.
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: auto-opens a room. Share the URL to invite a second tab.
- Realtime Collaboration docs: full setup in three steps
- examples/collaboration on GitHub: runnable example
- Agent API: drive the same editor with an AI agent. The agent toolkit is collaboration-aware: comments and tracked changes round-trip through Yjs.