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.
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
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
so,Is there any other solution in .net 5 ?
I try to use Task.Yield on RichTextEditor, but It does not work.
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
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