Rich Text Editor is Error when set IgnoreScriptIsolation to true, like blow.

Rich Text Editor is Error when set IgnoreScriptIsolation to true, like blow.

my Dev environment is : 

VS2022

.NET 5

Syncfusion.Blazor.RichTextEditor 19.3.0.56.



when I upgrade to .net 6 is ok,and IgnoreScriptIsolation is false still work with .net 5.but we want it works when .net 5 and IgnoreScriptIsolation is true(use cdn).

I upload a demo code in attachement.

Hope to get your help.


6 Replies

BI bingxueyinlian December 3, 2021 08:46 AM UTC

start url http://localhost:44734/test


add attachment


Attachment: BlazorApp1_f722a023.zip



VJ Vinitha Jeyakumar Syncfusion Team December 7, 2021 01:42 PM UTC

Hi bingxueyinlian,



Currently, we are validating your reported query. We will update you the further details in two business days on or before 9th December 2021.


Regards,

Vinitha



IS Indrajith Srinivasan Syncfusion Team December 10, 2021 12:11 PM UTC

Hi Bing,


We have further validated on the reported query, it seems it is a common issue with the Blazor in .Net 5. We could find the below issue tracked in blazor, which is resolved in .Net 6. Check the below shared link for reference.


GitHub issue: https://github.com/dotnet/aspnetcore/issues/30070


Regards,

Indrajith



BI bingxueyinlian December 11, 2021 06:45 AM UTC

so,Is there any other solution in .net 5 ?

I try to use Task.Yield on RichTextEditor, but It does not work.




IS Indrajith Srinivasan Syncfusion Team December 13, 2021 01:25 PM UTC

Hi Bing,


Since the exception is raised, with the component rendering using the Blazor lifecycle-based function call. We are currently checking for any other alternatives, in resolving the reported issue.


Regards,

Indrajith



IS Indrajith Srinivasan Syncfusion Team December 23, 2021 11:27 AM UTC

Hi Bing,

The reported issue was fixed in the .Net 6.0 release. We have upgraded our Blazor component to .NET 6.0 RC in our 2021 Volume 3 release. So kindly ensure the reported issue, by upgrading the application to the latest .NET 6.0 framework.


Regards,

Indrajith



Loader.
Up arrow icon