@richkitjs/docx
v0.4.0
Published
Microsoft Word (.docx) import and export for RichKit, entirely in the browser: headings, lists, tables, links and formatting, with no conversion server.
Maintainers
Readme
@richkitjs/docx
DOCX import and export for @richkitjs/core.
Install
npm install @richkitjs/docx @richkitjs/coreUsage
import { exportToDocx, downloadDocx, importDocxFile } from '@richkitjs/docx'
await downloadDocx(editor, { filename: 'document.docx' })
const result = await importDocxFile(file)Docs
See the repository for full documentation.
License
Part of RichKit Pro, licensed under the RichKit Pro License Agreement. It runs without a key on localhost and other development hosts. Production use needs a licence key — plans start at $99 a year, see the pricing page.
import { setLicenseKey } from '@richkitjs/license'
setLicenseKey('YOUR-LICENCE-KEY')The key is checked locally; nothing is sent anywhere. Without one, a small "unlicensed" badge shows on production sites — the editor never stops working.
