Skip to content Skip to sidebar Skip to footer

On "ondrop" Event Convert Word Document To Text Or String Using Javascript

i was trying to send word document from one user to another using peer.js it is fine working with text file (.txt, text/plain) where ever on word document i'm not getting content.

Solution 1:

I'm not an expert, but AFAIK docx documents follow a standard which is not simple plain text (as RTF is). I'd give a chance to DOCX.js, which promises to transform docx base64 strings back and forth to HTML.


Post a Comment for "On "ondrop" Event Convert Word Document To Text Or String Using Javascript"