reading html issue

Hello

There is a small problem with binding html 

Use case:

  1. Input into TextEditor editorInput.txt
  2. Save input as html
  3. Read content from html
  4. Invalid output (editorOutput.txt)
I saw similiar issues in the past with other punctuation marks or for example unicode characters - they are interpreted directly as html - not as text

Regards
Mateusz

Attachment: attachements_b9ba9d09.rar

1 Reply

MP Mohana Priya Raja Syncfusion Team February 2, 2022 02:09 PM UTC

  Hi Mateusz,
 
  
Thank you for contacting Syncfusion support.   
 
We have checked the reported case in the RichTextEditor. In the RichTextEditor component, we have processed the value property as an HTML string. Hence the “\f” is being interpreted as an up arrow like the inner HTML method in the HTML5 element. Kindly refer to the below test sample. 
It’s the components of intended behavior. To resolve this we suggest using escape characters in the string “\\f” .

 


Regards,
 
Mohana Priya R 


Loader.
Up arrow icon