Hi Team,
I am working on add-in for MS word, and I have inserted content controls which will be linked with a list in my add-in panel. When I click on list item from add-in, I am able to highlight the text in word document and also able to focus on it.
Now, I want to do the other way around, when I click the highlighted text in word document, a click event should be triggered, and list should be scrolled to the corresponding list item from add-in and highlight it.
I am using Typescript and React.
It would be good if we get click event on content control and when user click on it, we should get id/tag of clicked content control.