I am working on a MS Office 365 Word Add-in and currently struggling to highlight multiple words which doesn't use "highlightText" or similar Office.js API calls, since I don't want to change the content itself.
The highlighted areas should only be existing when analysing the text and not being saved or printed with the document. So in fact, I'm looking for a possibility to highlight words just like the built-in grammar tool.
I've already found similar requests to the same basic problem here and here.
Thank you & best regards, Thomas