Documentation
Generated from the repository on every release, so it always matches the version on npm.
Start
Install the package and put a Word-grade editor in a React or Next.js page.
Component propsEvery prop of <WordcraftEditor />, from documents and saving to tabs, modes and Extras.
Editor APILoad, export and script the editor through its ref, with the same commands as the ribbon.
Without ReactMount the editor in any element with the framework-free core.
Features
Several people in one document at once, with live cursors and per-person undo.
Access levelsView, comment, suggest or edit, enforced by the editor and changeable live.
CommentsExtraThreads, mentions, Assign to and a comment store, in the Google Docs style.
AI and AI StudioExtraA Gemini-style writing bar with skills, letterheads, palettes and your own model.
AI that builds structureExtraAI answers as real tables, diagrams, charts, lists and more, with a slash menu.
Brand theme and logoExtraA document theme from a logo or photo, and the logo placed where you want it.
Ask this documentExtraAsk questions about the document and get answers that cite its passages.
Writing checksExtraGrammarly-style underlines, readability and tone, with engines you choose.
OriginalityExtraSimilarity against your own documents, a plagiarism service and a soft AI signal.
ToolsExtraOutline, accessibility, sources, word count, voice typing and translation panels.
Version historyExtraVersions recorded as you work, to view, name, restore or download.
FontsThe Google Fonts library in the font box, previewed in each face.
Phones and tabletsExtraWord for Android’s shape on phones: touch gestures, a bottom command palette, foldables.
Reference
What this package adds beyond Microsoft Word and WordCraft.
Divergences from WordCraftEvery way the package differs from WordCraft, and where each change lives.
Word parityHow much of Word the editor covers, tab by tab.
Things to knowSize, rendering, keyboard focus, persistence and the upstream patches.