RTE causes blazor crash when character limit is not set

I've had a weird bug keep causing blazor to crash when the RTE is too large. Big tables cause the error to happen faster but when the RTE gets to around 8k characters it crashes. Causing the blazor server connection to be lost and user data to be lost. 


Has anyone else had this happen? 


2 Replies

FA fateraceapp September 29, 2023 10:37 AM UTC

I've attached an example of the html text causing the RTE crash the blazor signal r connection.


Attachment: crashHtml_723b2932.zip


VJ Vinitha Jeyakumar Syncfusion Team October 6, 2023 12:24 PM UTC

Hi fateraceapp,


We couldn't replicate the reported issue at our end using the HTML content you have shared. We didn't face any crash while loading RichTextEditor with the shared HTML.

Can you please share us with the more information about the reported issue for further validation?

  • Your package version?
  • Are you using Blazor serve or Web assembly project?
  • Share the entire code snippet of RichTextEditor.
  • Are you using the Editor inside any other component? If so, please share the control details.

Note: The SignalR WebSocket has a default maximum message size of 32 KB and the HTML file you have shared has a size of 14KB. So these HTML contents may not cause issues while transferring data.

Regards,
Vinitha


Loader.
Up arrow icon