Office.js Word Document content changes
Could we have an event to subscribe for document changes for Word. There is a possible work around is to use Bindings for the content control and add a data changed event to the binding (this will work across all platforms). I'd be greate to have an easy way to do so.
Expected behavior:
Office.context.document.addHandlerAsync(Office.EventType.DocumentChanged, ...);
6 Comments
- lindalu-MSFTMicrosoft Status changed:NewtoCompleted
- Yun_WangMicrosoft Word JavaScript API requirement set 1.7 - Office Add-ins | Microsoft Learn now is available that you could catch paragraph event. 
- Yun_WangMicrosoft We have introduced paragraph event and please see if this can solve your problem: Word JavaScript preview APIs - Office Add-ins | Microsoft Learn 
- CotspheerCopper ContributorI literally have no idea why this is not provided from the very start. I mean it's obivious... As a developer you want to listen on changes to react upon. Same thing with keybindings to enhance the user experience. 
- ErnstScheithauerBrass Contributor@lindalu-MSFT 
 This would be a great extension
- maja_damjanicMicrosoft Member of the product team here, we are looking into this area. If interested in this space, please go ahead and fill in this survey to help us understand and prioritize requirements: https://aka.ms/WordAPI