Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gauravp-dev opened this issue Mar 17, 2024 · 0 comments
Open

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

gauravp-dev opened this issue Mar 17, 2024 · 0 comments

Comments

@gauravp-dev
Copy link

gauravp-dev commented Mar 17, 2024

I am using <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/html-to-docx.umd.min.js"></script> 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant