Skip to content

Conversation

@iwantwin
Copy link

  • Returning the blob since we might want to use it in our code
  • Making the autoSaveAs optional, sometimes we want to simply get a blob and handle saving ourselves.

Use case where I needed it: I needed to create a zip folder with js-zip, and wanted to save .doc files inside the zip folder. Therefor, I needed the blobs create by word-export. I was never going to save the doc files, I wanted to save the zip file. This commit performs the necessary changes to support such a use case, and is also 100% backwards compatible.

- Returning the blob since we might want to use it in our code
- Making the autoSaveAs optional, sometimes we want to simply get a blob and handle saving ourselves.

Use case where I needed it: I needed to create a zip folder with js-zip, and wanted to save .doc files inside the zip folder. Therefor, I needed the blobs create by word-export. I was never going to save the doc files, I wanted to save the zip file. This commit performs the necessary changes to support such a use case, and is also 100% backwards compatible.
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.

2 participants