Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You sometimes look into the console, they write useful things there.
You have half of the fonts not connected.
.doc files are binary.
Those. need a converter to convert
Everything is easier with .docx. They are essentially a zip archive with xml structure , resources, etc.
Those. it all comes down to the fact that purely in js, loading a file and showing it is too non-trivial a task.
The solution we used in our product is the Aspose.word server library . It is, of course, paid, but it can convert doc and docx (and a bunch of other) files into html markup. I saw repositories with similar projects on github, but I never got around to studying them
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question