[Word API] Document.compare: ability to specify Original and Revised document?

[Word API] Document.compare: ability to specify Original and Revised document?
0

Upvotes

Upvote

 Aug 28 2024
0 Comments 
New

We're using the new Word.Document.compare() API, which is currently in preview (https://learn.microsoft.com/en-us/javascript/api/word/word.document?view=word-js-preview#word-word-document-compare-member(1)) . It seems it is not possible to specify what is the original and what is the revised document. It seems to assume the current document is the original, and the target document is the revised document

 

See also this Github issue: https://github.com/OfficeDev/office-js/issues/4766