Skip to main content
Pass the .docx to Doconda’s editor plugin (@doconda/editor), as a link in src or as a File in file. It is a React component, or the <doconda-editor> tag in any other framework. Users edit the file in a full Word editor in their browser, and save() returns the edited .docx as a Uint8Array; nothing is uploaded unless you send it.

Steps

  1. Get the plugin in the dashboard (Editor), with a 7-day free trial. See Licence and domains.
  2. Install it with the command the dashboard gives you. It needs React 19 or later:
  1. Open the file from a link:
Or from memory, for example the File from an <input type="file"> (a Blob, ArrayBuffer or Uint8Array also works):
  1. Get the edited file through a ref:
save("pdf") returns a PDF instead (also "md", "txt" or "png"). The ref also has open(), print() and run(id), which presses a toolbar button by its ID.
  1. Send it to your server:

Events

What it edits

Text and paragraph styles, fonts, colours, lists, tables, images, shapes, links, columns, header and footer, footnotes, comments, table of contents, and find and replace. Whatever the editor doesn’t touch is saved as is.

FAQ

No. It is edited in the user’s browser and only leaves it if you send it, for example from onSave.
Yes. In Angular, Vue or a page with no framework, use the <doconda-editor> tag from @doconda/editor/element. See Angular, Vue or plain JavaScript.
Yes. From your server, call documents.updateFile(id, file) (PUT /v1/documents/{id}/file). It is free and makes a new PDF and a change report. See Editor plugin: save.