Value change is detect few seconds later - Rich text editor

Methodes valueChange, change, ngModelChange recognize change on input with delay. You can see  on this link two console.logs in change and valueChange methodes (it is the same bavior with ngModelChange method); also   {{toolsRTE.value}}  comes  late;

https://stackblitz.com/edit/angular-qf3mzh-hfau9t?file=app.component.html

Regards,

Kristina


1 Reply

GK Gunasekar Kuppusamy Syncfusion Team September 14, 2021 01:58 PM UTC

Hi Kristina, 
  
Greetings from Syncfusion support. 
  
By RichTextEditor behavior, it saves the value for every thousand milli seconds or when you focus out the editor. You can change this interval time by using the saveInterval property. 
  
We have prepared a sample for your reference, 
  
Code snippets: 
 <ejs-richtexteditor #toolsRTE id='alltoolRTE' [toolbarSettings]='tools' [showCharCount]='true' [saveInterval]="10" > 
    <ng-template #valueTemplate> 
        . . . 
    </ng-template> 
</ejs-richtexteditor> 
  
  
Regards, 
Gunasekar 


Loader.
Up arrow icon