Is there an easy way to check if track changes are enabled in the document or not from the JS object maybe or from UNO command. I could only fiure out to toggle them with .uno:TrackChanges
Hii @sirceljm
UNO API (Python/UNO)
You can check if track changes are enabled by querying the RedlineDisplayType or the IsTrackChanges flag on the SwXTextDocument
From the JS Side (Collabora Online / LOKit)
In the client-side JS, you can request the .uno:TrackChanges state as well — commands that toggle options usually also support status updates.
For example, in Collabora Online, the core sends you commandstatechanged messages for .uno:TrackChanges (with "state": true/false). If you listen to those events, you’ll know whether track changes are currently enabled.
