Track changed things

In Document Editor there is a method called serialize() which displays the content of the document editor ,
We want a way in which we can get the exact Block in sections[0]['blocks'] where the user has changed the content of the document because looping through the document will not be the right way to get the change data and will be time consuming.

Please lets us know if there is way around or the exact way if you have any it will be helpful .

Thanks for your time and consideration, looking back to hear from you soon.

Regards,
Prithvi


3 Replies 1 reply marked as answer

KB Kurthis Banu Abdul Majeeth Syncfusion Team February 17, 2021 09:18 AM UTC

Hi Prithivinath, 

Thank you for contacting Syncfusion support. 
We need some clarification regarding your requirement. In your requirement, you are trying to extract the changed content of the document. Can you please share some details about your end requirement? what you were trying to do with changed content in document? Please share requested details, that will helpful for us to investigate further on reported scenario. 
Regards, 
Kurthis Banu A. 



PP Prithivinath Prabhunath February 17, 2021 02:29 PM UTC

Hi Kurthis,

Thanks.

Scenario:
When user open his document inside document editor, then document editor parses that document and display the content. My requirement is simple, when user edit that document we want to track only the changed content. We want to implement auto save feature same as clicking save on Native application ( Microsoft Word).

Thanks for your time and consideration, let me know if you require any more detail.

If the scenario is not cleared then we can setup a call.

Regards,
Prithvi


KB Kurthis Banu Abdul Majeeth Syncfusion Team February 18, 2021 10:24 AM UTC

Hi Prithivinath, 

Regarding:  track only the changed content  

Track Changes allows you to keep a record of changes or edits made to a document. You can then choose to accept or reject the modifications. It is a useful tool for managing changes made by several reviewers to the same document. If track changes option is enabled, all editing operations are preserved as revisions in Document Editor. 


Code snippet: 

render() { 
        return (<DocumentEditorComponent id="container" serviceUrl="https://ej2services.syncfusion.com/production/web-services/api/documenteditor/" enableTrackChanges={true} />); 
   
 
 

Demos Link for track changes: 

For your reference: please refer the below documentation link in java script also: 


Regards, 

Kurthis Banu A. 


Marked as answer
Loader.
Up arrow icon