@doconda/editor) to the page: a React component, or the <doconda-editor> tag in any
other framework. Users open the .docx, edit it and save it without leaving your site, and onSave hands you the
file’s bytes to store wherever you want. The file is edited in the browser, not uploaded anywhere.
Steps
- Get the plugin in the dashboard (Editor), with a 7-day free trial.
- Add your domains: up to 5, https only. The editor opens only on them, and always on
localhostfor development. - Install it with the command the dashboard gives you. It needs React 19 or later:
- Put it on your page, inside a container with a height:
- Store what the user saves (Ctrl/Cmd+S or File → Save):
Make it look like part of your product
- Colours and font:
theme="dark"or your own values, for exampletheme={{ primary: "#e11d48", font: "Inter, sans-serif", radius: "6px" }}. - Language:
locale="es"or"en", andlabelsto change any text. - Buttons:
toolbarpicks which appear, in what order and for which selection;statusBarandcontextMenuchange or remove the rest. - Your own buttons:
actionsadds, for example, “Send for signature”, which gets the file with theref’ssave().
Why the licence key can go in your code
licenseKey is your licence key (ek_eu_…), not your API key. When it opens, the editor asks Doconda for a permit for
the site it is on; the browser sets that address and the page can’t change it. Outside your domains the key is useless:
the editor shows “This editor needs a Doconda licence” and calls onError("editor_unlicensed").
FAQ
Does my site have to use React?
Does my site have to use React?
No. In Angular, Vue or a page with no framework, use the
<doconda-editor> tag. See
Angular, Vue or plain JavaScript.Does it work for PowerPoint and Excel too?
Does it work for PowerPoint and Excel too?
Yes, the same component opens
.docx, .pptx and .xlsx.Does it work on subdomains?
Does it work on subdomains?
Yes.
*.yourcompany.com opens on any subdomain, but not on yourcompany.com itself: add that separately. See
Domains.How much does it cost?
How much does it cost?
It is bought separately from the API, per organization, with a monthly, yearly or one-time plan and unlimited
documents and users. The dashboard shows each plan’s price before you pay. See Licence and domains.
Related
- Editor plugin: every prop, event and method.
- How do I add a Word (DOCX) editor to a React app?