Skip to content

feat: Add .docx export functionality #284

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fazi-gondal
Copy link

Adds the ability to export documents in .docx format.

  • Installs the html-to-docx library.
  • Modifies the "Word" export button to use html-to-docx to convert the editor content to a .docx file and trigger a download.
  • Adds 'docx' to the 'word' category in src/utils/file.ts.
  • Adds a basic unit test to verify that the export functionality is triggered.

Adds the ability to export documents in .docx format.

- Installs the `html-to-docx` library.
- Modifies the "Word" export button to use `html-to-docx` to convert the editor content to a .docx file and trigger a download.
- Adds 'docx' to the 'word' category in `src/utils/file.ts`.
- Adds a basic unit test to verify that the export functionality is triggered.
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

Successfully merging this pull request may close these issues.

1 participant