Word Document Editing and Download - WeWeb Integration

Hi All,

Has anyone done any work with Word Documents? Such as having an embedded Editor and also being able to download the files in docx format?

Basically, my requirement would be to allow users to edit template documents that I host on supabase, and then for them to download a personalised version of that.

Some kind of custom library integration, probably?

thanks.

1 Like

Hi @emdiemeric :waving_hand:

I don’t recall having seen someone building this functionality, but you could try 2 approaches.

Either you use a tool you can embed directly or you could try a tool or npm package that translates code templates into the files you require.

Couple of tools I found:

hi therer, I was in a project like that and my solution was:

  • create a richtext with html format.
  • take the value from the document from docx in xano.
  • save and modify any value from the richtext component.
  • download the document again about the https://www.npmjs.com/package/html-to-docx library.

regards.