privateOmega / html-to-docx

HTML to DOCX converter
MIT License
373 stars 140 forks source link

Reference error : ReferenceError: HTMLToDOCX is not defined. #241

Open gauravp-dev opened 5 months ago

gauravp-dev commented 5 months ago

I am using and my function is defined as `async function getHtml() { const data = editor.getData();

        const fileBuffer = HTMLToDOCX(data, null, {
            table: { row: { cantSplit: true } },
            footer: true,
            pageNumber: fileBuffer,
        });
    }` 

But wehenever I am calling this function I am getting reference error