Reputation: 47
I have a MVC 4 system that fill a Word Document according to what the client inserts at the Mail interface. I've put a TinyMCE textarea to get the content of the mail, and it returns a HTML to my backend.
How can I insert the HTML data in the word document (inside a content control), obeying the format?
Upvotes: 1
Views: 2723
Reputation: 13579
Take a look at this library it might be what you are looking for
https://github.com/onizet/html2openxml
Upvotes: 2