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

Downloading word doc doesn't work on safari #119

Closed
antislice opened this issue Aug 23, 2016 · 3 comments
Closed

Downloading word doc doesn't work on safari #119

antislice opened this issue Aug 23, 2016 · 3 comments
Assignees
Labels

Comments

@antislice
Copy link
Collaborator

antislice commented Aug 23, 2016

Click "Save as Word Document" in Safari.

Expected behavior: jobposting.docx file downloads
Current behavior: a blank/empty new tab opens and no file is downloaded.

Also test firefox and IE (try browsertesting.com)

@antislice
Copy link
Collaborator Author

antislice commented Aug 26, 2016

Known issue for FileSaver.js, it's some sort of WebKit bug: eligrey/FileSaver.js#129. It looks like there's a workaround if you have control over the type you pass in during Blob creation, but we don't without mucking with html-docx.js.

@antislice
Copy link
Collaborator Author

Also looked into Downloadify, linked to as a solution from https://github.com/evidenceprime/html-docx-js. Doesn't work in Safari 9.1.2, aka on my machine. It's also Flash based.

@pacarole
Copy link
Contributor

eligrey/FileSaver.js#242

Basically I have it to the point where it downloads a file called Unknown. That file (if you rename .docx) works fine. But that's obviously not optimal.

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

No branches or pull requests

2 participants