We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to perform autosave function while editing in the rich text editor?

Thread ID:





147010 Aug 28,2019 01:33 PM UTC Aug 30,2019 05:49 AM UTC Angular - EJ 2 3
Tags: RichTextEditor
Rahul V Reji
Asked On August 28, 2019 01:33 PM UTC

I would like to perform a background save function while one is typing inside the rich text editor.

For example while the user is typing continuously i want to perform a background save every 5 minutes.

I wrote the following code for performing the save after a time interval.

public timeOut(): void {
setTimeout(() => {
}, 3000);

I would like to know where to implement this function inside the editor.

Thanks in advance.

Narayanasamy Panneer Selvam [Syncfusion]
Replied On August 29, 2019 07:27 PM UTC

Hi Rahul, 
Thanks for contacting Syncfusion support. 
Yes, you can achieve the requirement by using saveInterval property, it will save RichTextEditor’s current value in specified time interval. The change event will trigger if editor value changed compared to previous interval value. 
We have also planned to include ‘Auto Save’ sample in our demo site with upcoming 2019 Volume 3 release. 
We have prepared sample to meet your requirement, please get it from the below link, 
Narayanasamy P. 

Rahul V Reji
Replied On August 30, 2019 05:31 AM UTC

Thanks a lot. Its working. I saw the saveInterval property but i did not know how to use it. This cleared thing up.


Narayanasamy Panneer Selvam [Syncfusion]
Replied On August 30, 2019 05:49 AM UTC

Hi Rahul,

Thanks for your update.

We are glad to know that the reported problem is resolved at your end. As per our
plan we will include sample for ‘Auto Save’ functionality in our online demo site. 
Narayanasamy P. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon