office365office-jsoffice-addinsadd-inoffice365api

how to convert word Ooxml to html using javascript?


getHtml() method doesn't return the exact same HTML for the same document on different platforms (Windows, Mac, Word on the web, etc.). If you need exact fidelity, or consistency across platforms, use Range.getOoxml() and convert the returned XML to HTML.

So question is how can I convert this Ooxml to html? using javascript

for more info

info image


Solution

  • there are no method to convert html to Ooxml in JavaScript.