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

RichTextEditor collapses on enter

HI,

I was trying to display some html data using rich text editor, it seems the editor got cleared on pressing enter key.

I have attached the sample project. Please follow the steps below to reproduce the issue.

  1. Run the project.                                                                                                                                           
  2. Click on the right side side of the rich text editor. (Cursor will be displayed)                                                       
  3. Press enter key, the data got removed(please use the main enter key).                                                               


Thanks Regards,

Smisha Alias


Attachment: SoapNotes_9abae2e5.zip

3 Replies

VJ Vinitha Jeyakumar Syncfusion Team October 10, 2022 09:06 AM

Hi Smisha,


Your reported issue occurs due to the "\r" and unwanted spaces added between the HTML tags in the content of the Rich Text Editor. So please remove the mentioned HTML strings and spaces to resolve the reported issue at your end.

We have also prepared a sample for your reference.

Regards,
Vinitha


SA Smisha Alias October 10, 2022 11:49 PM

Hi vinitha,


Thank you for pointing out the issue.


Regards,

Smisha Alias



VJ Vinitha Jeyakumar Syncfusion Team October 11, 2022 12:08 AM

Hi Smisha,


We are glad to assist you.

Regards,
Vinitha

Loader.
Live Chat Icon For mobile
Up arrow icon