Skip to main content
Add Doconda’s editor plugin (@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

  1. Get the plugin in the dashboard (Editor), with a 7-day free trial.
  2. Add your domains: up to 5, https only. The editor opens only on them, and always on localhost for development.
  3. Install it with the command the dashboard gives you. It needs React 19 or later:
  1. Put it on your page, inside a container with a height:
  1. Store what the user saves (Ctrl/Cmd+S or File → Save):
Until the user saves, the editor keeps a recovery copy in their browser for 7 days. Without React, the tag works the same way:

Make it look like part of your product

  • Colours and font: theme="dark" or your own values, for example theme={{ primary: "#e11d48", font: "Inter, sans-serif", radius: "6px" }}.
  • Language: locale="es" or "en", and labels to change any text.
  • Buttons: toolbar picks which appear, in what order and for which selection; statusBar and contextMenu change or remove the rest.
  • Your own buttons: actions adds, for example, “Send for signature”, which gets the file with the ref’s save().
See Customize for every option.

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

No. In Angular, Vue or a page with no framework, use the <doconda-editor> tag. See Angular, Vue or plain JavaScript.
Yes, the same component opens .docx, .pptx and .xlsx.
Yes. *.yourcompany.com opens on any subdomain, but not on yourcompany.com itself: add that separately. See Domains.
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.