From 3195f6a77356a33c448dac8f65407b77b6e8af98 Mon Sep 17 00:00:00 2001 From: suriyaprakasamr Date: Sun, 6 Sep 2026 19:28:53 +0530 Subject: [PATCH 1/2] 1052603- Document track changes with custom colors Added section on custom colors for track changes in DOCX editor. --- .../javascript-es5/track-changes.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md b/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md index b3655fa886..8a82ab27fe 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md +++ b/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md @@ -143,6 +143,22 @@ The Track Changes pane will display the author name along with the custom metada N> 1. When you export the document as SFDT, the customData value is stored in the revision collection. When you reopen the SFDT, the custom data is automatically restored and displayed in the Track Changes pane. N> 2. For formats other than SFDT (e.g., DOCX), the customData is not preserved, as it is specific to the DOCX Editor component. +## 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 + +```js +container.documentEditorSettings.revisionSettings.revisionColors = [ + '#0e76b1', + '#bb00ff', + '#c14f16' +]; +``` + ## Filtering changes based on user DOCX Editor provides a built-in review panel with support for filtering changes based on the user. From c69dd49fc173c20885bfa157a50dbd0186a3c489 Mon Sep 17 00:00:00 2001 From: Vellaisamy Auvudaiappan Date: Mon, 7 Sep 2026 13:28:42 +0530 Subject: [PATCH 2/2] 1052603-modified to single line in Custom Colors for tc in track-changes.md file --- .../Word/Word-Processor/javascript-es5/track-changes.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md b/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md index 8a82ab27fe..5991e3bf48 100644 --- a/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md +++ b/Document-Processing/Word/Word-Processor/javascript-es5/track-changes.md @@ -145,9 +145,7 @@ N> 2. For formats other than SFDT (e.g., DOCX), the customData is not preserved, ## 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