How to detect if something changed in DOCX Editor since I opened it

WebViewer Version: 10.12.0

Do you have an issue with a specific file(s)? No.
Can you reproduce using one of our samples or online demos? No.
Are you using the WebViewer server? No.
Does the issue only happen on certain browsers? No.
Is your issue related to a front-end framework? No.
Is your issue related to annotations? No.

Please give a brief summary of your issue:
(Think of this as an email subject)
I need to add an unsaved changes modal after I try to quit your DOCX Editor in my application. How can I detect that something changed?
I’ve tried comparing the document.getItemData() from the start and the end but they are always different, no matter what.
Thanks for your help!

1 Like

Hello Eduardo,

We are looking into this and will provide a response promptly.

Best Regards,
Darian

1 Like

Hello Eduardo,

We currently don’t have a way to detect if something changed in DOCX Editor mode. However, we do have a way to track changes in our recently released Review mode. This will not cover the changes in the normal edit mode.

Best Regards,
Darian

1 Like