Wrong data / Random Data after changing the bound value

Transferring the data takes too long.
If the data bound to a rich text editor is changed, it takes an indefinite period of time until the editor has the new data. This delay makes the RTE editor unusable.

It does not matter whether the data is bound via bind-Value = someString or Value = someString. Start with

someString = "some start text";
and execute the following commands in one method: 
     var s = await RteObj.GetText ();
     someString = "you won't see this";
     var s2 = await RteObj.GetText ();

s and s2 still have the same value ("some start text");

the editor takes an indefinite amount of time to update its data.
If GetText is called immediately after the text has been set, the result is random.
A random result is not to be used.

1 Reply 1 reply marked as answer

IS Indrajith Srinivasan Syncfusion Team January 11, 2021 07:05 AM UTC

Hi Otto, 
 
Greetings from Syncfusion support, 
 
We have validated your reported query. By default, Rich Text Editor value will be updated by a minimal timeout(10000). Can you try setting, the SaveInterval property as 1 for the Rich Text Editor to update the values immediately and check your reported issue ? 
 
 
@using Syncfusion.Blazor.RichTextEditor   
   
<SfRichTextEditor @ref="RteObj" SaveInterval=1>   
    <p>Rich Text Editor allows to insert images from online source as well as local computer where you want to insert the image in your content.</p>   
    <p><b>Get started Quick Toolbar to click on the image</b></p>   
    <p>It is possible to add custom style on the selected image inside the Rich Text Editor through quick toolbar.</p>   
</SfRichTextEditor>   
 
 
 
Please let us know if the solution helps, 
 
Regards, 
Indrajith 


Marked as answer
Loader.
Up arrow icon