Hello @Avi_J
Yes, it will. You can check it out in the Playground: Playground | ONLYOFFICE
From this link you will access the connector playground space. With this simple script you will see the action:
connector.callCommand(() => {
let doc = Api.GetDocument();
doc.SetTrackRevisions(true); // Enable Track Changes
let range = doc.GetRange(0,7); // Get range for 'Welcome' word
range.Delete(); // Remove range to trigger change
})
Note that the “Welcome” word is marked as change.