docx2html
docx2html copied to clipboard
Cannot Download the html file generated
Hi, I tried running your demo, it worked fine and displayed the output, but when I tried to download using the method mentioned I could not do that, it is giving me error "Uncaught (in promise) TypeError: props is undefined", It would be really helpful if you could provide some sample code!! Thank You! Here's the code for your reference:
function test(input) { require("docx2html")(input.files[0], { container: document.querySelector("#container") }) .then(html => { html.download(); }) }