From c9269cfa97fa42f875367093a467a90a2c74286c Mon Sep 17 00:00:00 2001 From: suriyaprakasamr Date: Sun, 6 Sep 2026 19:31:29 +0530 Subject: [PATCH 1/2] 1052603 - Document custom colors for track changes Added section on custom colors for track changes in DOCX editor. --- .../javascript-es6/track-changes.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md b/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md index e1d56aeceb..3abb14e7fa 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md @@ -150,6 +150,21 @@ container.documentEditor.selection.navigateNextRevision(); container.documentEditor.selection.navigatePreviousRevision(); ``` +## Custom Colors for Track Changes + +You can set an array of colors to show track changes such as insertions and deletions in the DOCX editor. +Each author is assigned a color in order: the first author gets the first color, the second author gets the next, and so on. +If there are more authors than colors, the assignment starts again from the beginning of the array. + +The following example illustrates how to set the color order for track changes in the DOCX Editor + +```ts +container.documentEditorSettings.revisionSettings.revisionColors = [ + '#0e76b1', + '#bb00ff', + '#c14f16' +]; +``` ## Filter changes by user From 953bcd6b6ff22d447ac4fc2fb22c7063fa75aca5 Mon Sep 17 00:00:00 2001 From: Vellaisamy Auvudaiappan Date: Mon, 7 Sep 2026 13:31:46 +0530 Subject: [PATCH 2/2] 1052603-modified to single line in Custom Colors for tc in track-changes.md file --- .../Word/Word-Processor/javascript-es6/track-changes.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md b/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md index 3abb14e7fa..160fc3d36c 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md +++ b/Document-Processing/Word/Word-Processor/javascript-es6/track-changes.md @@ -152,9 +152,7 @@ container.documentEditor.selection.navigatePreviousRevision(); ## Custom Colors for Track Changes -You can set an array of colors to show track changes such as insertions and deletions in the DOCX editor. -Each author is assigned a color in order: the first author gets the first color, the second author gets the next, and so on. -If there are more authors than colors, the assignment starts again from the beginning of the array. +You can set an array of colors to show track changes such as insertions and deletions in the DOCX editor. Each author is assigned a color in order: the first author gets the first color, the second author gets the next, and so on. If there are more authors than colors, the assignment starts again from the beginning of the array. The following example illustrates how to set the color order for track changes in the DOCX Editor