From 06a2a9cfd5f926f648f81792fef27353fcfb477c Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Thu, 23 Oct 2025 08:36:02 +0530 Subject: [PATCH 1/2] 988160: Code changes for Track changes Document editor --- .../Word/Word-Processor/react/track-changes.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/react/track-changes.md b/Document-Processing/Word/Word-Processor/react/track-changes.md index 2d463e8ec..dbba9e895 100644 --- a/Document-Processing/Word/Word-Processor/react/track-changes.md +++ b/Document-Processing/Word/Word-Processor/react/track-changes.md @@ -78,12 +78,10 @@ import * as React from 'react'; import { DocumentEditorContainerComponent, Toolbar, - Selection, - Editor, } from '@syncfusion/ej2-react-documenteditor'; // Inject the required modules -DocumentEditorContainerComponent.Inject(Toolbar, Selection, Editor); +DocumentEditorContainerComponent.Inject(Toolbar); function App() { let container = null; @@ -103,8 +101,6 @@ function App() { height={'590px'} serviceUrl="https://document.syncfusion.com/web-services/docx-editor/api/documenteditor/" enableToolbar={true} - enableSelection={true} - enableEditor={true} enableTrackChanges={true} /> From a165893a38a0526750cd0e41eb9a9777e211a883 Mon Sep 17 00:00:00 2001 From: ManoSF4839 Date: Thu, 23 Oct 2025 08:42:28 +0530 Subject: [PATCH 2/2] Fix link formatting in track changes documentation --- .../Word/Word-Processor/react/track-changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Document-Processing/Word/Word-Processor/react/track-changes.md b/Document-Processing/Word/Word-Processor/react/track-changes.md index dbba9e895..2cc7316ca 100644 --- a/Document-Processing/Word/Word-Processor/react/track-changes.md +++ b/Document-Processing/Word/Word-Processor/react/track-changes.md @@ -193,7 +193,7 @@ In DocumentEditor, we have built-in review panel in which we have provided suppo Document Editor provides support for protecting the document with `RevisionsOnly` protection. In this protection, all the users are allowed to view the document and do their corrections, but they cannot accept or reject any tracked changes in the document. Later, the author can view their corrections and accept or reject the changes. -Document editor provides an option to protect and unprotect document using [`enforceProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor#enforceprotection) and [`stopProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor#stopprotection) API. +Document editor provides an option to protect and unprotect document using [`enforceProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor/#enforceprotection) and [`stopProtection`](https://ej2.syncfusion.com/react/documentation/api/document-editor/editor/#stopprotection) API. The following example code illustrates how to enforce and stop protection in Document editor container. @@ -291,4 +291,4 @@ function App() { } export default App; createRoot(document.getElementById('sample')).render(); -``` \ No newline at end of file +```