docx2html icon indicating copy to clipboard operation
docx2html copied to clipboard

Cannot Download the html file generated

Open MANUSRAO opened this issue 2 years ago • 0 comments

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(); }) }

Screenshot 2022-09-25 003322

MANUSRAO avatar Sep 24 '22 19:09 MANUSRAO