From 77dc4ec7eb1bf4a185dcb698a81e37a406f2b6e4 Mon Sep 17 00:00:00 2001 From: ManoMurugan Date: Thu, 23 Oct 2025 09:32:02 +0530 Subject: [PATCH] 988160: Code changes for trackChanges Document Editor --- .../Word/Word-Processor/react/track-changes.md | 8 ++------ 1 file changed, 2 insertions(+), 6 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..5a9aeb9fe 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} /> @@ -197,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.