Removes a tracked change from the collection. Depending on the accept parameter the change is either accepted or rejected. When a change is rejected, inserted text is removed and deleted text is reinserted.
<void> TrackedChangeCollection.remove(<TrackedChange> trackedChange, <boolean> accept, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])
Parameter | Description |
---|---|
tracked |
The removing tracked change. |
accept | Specifies the tracked change to remove. |
callback | Optional. Receives as parameter whether the change could be removed. |
error |
Optional. Is called when the operation failed with an error. |
Learn more about the Javascript: Tracked