Changes are not highlighted when switching document versions in OnlyOffice

ONLYOFFICE Docs Community Edition 8.3.3

When switching between document versions using setHistoryData and onRequestHistoryData, the expected behavior is to display highlighted changes between the current and previous versions. However, the following issue occurs:
The document successfully switches to the selected version
No changes are visually highlighted, there is no markup or diff display.
Instead, OnlyOffice simply loads the previous version as-is, with no visual indication of what changed.

Hi @Alikhan :handshake:

Could you please clarify if the change highlighting was implemented correctly in your integration?

Based on the behavior you described, it seems like the history switching itself works, but the visual diff isn’t triggered — this may happen if the required diff data isn’t passed properly.

Please double-check your implementation using our guide here:

How to open document history with changes highlighting

I didn’t fully transfer the data to refreshHistory, highlights are now working. However, I’m encountering an issue: when a version is selected, it shows the changes of the selected version with highlights, But the changes (data) from the previous version disappear, even though I downloaded the file of the previous version and confirmed that the data is present there. What could be the potential cause of this problem?