After upgrading from 19.4.0.52 to 20.1.0.55 blazor documenteditor component does not load documents

Everything was perfect in version 19.4.0.52 (Blazor server side NET 6.0)

however, when updating the nugget packages to version 20.1.0.55 something I should not be doing right because the documents are not loaded. The WordProcessor component does render but does not load documents when you open them.

I´m refering the Syncfusion Blazor scripts through the CDN resources. Like this:


     <!-- Syncfusion 20.1.55 -->

    <link rel='nofollow' href="https://cdn.syncfusion.com/blazor/20.1.55/styles/material.css" rel="stylesheet" />

    <link rel='nofollow' href="https://cdn.syncfusion.com/blazor/20.1.55/styles/bootstrap5.css" rel="stylesheet" />

    <script src="https://cdn.syncfusion.com/blazor/20.1.55/syncfusion-blazor.min.js" type="text/javascript"></script>

    <script src="https://cdn.syncfusion.com/blazor/20.1.55/syncfusion-blazor-pdfviewer.min.js" type="text/javascript"></script>

    <script src="https://cdn.syncfusion.com/blazor/20.1.55/syncfusion-blazor-documenteditor.min.js" type="text/javascript"></script>


And adding SynfusionBlazor service like this (I understand script isolation is disabled by default, isn´t it?

services.AddSyncfusionBlazor();

Also, the URLs matches the version 20.1.0.55 of the Syncfusion Blazor Packages i´m using.




I´m using this code to load document from file.


What am I doing wrong?


2 Replies 1 reply marked as answer

EG Esther Garcia del Barrio June 17, 2022 12:04 PM UTC

Just after posting my query, I realized that I had read that from version 20.1.47 of DocumentEditor the References of Newtonsoft.Json are replaced by the System.Text.Json in the Blazor Word Processor NuGet.

'Elementary my dear Watson' now everything runs properly! Thanks!



Marked as answer

AE Ajithamarlin Edward Syncfusion Team June 22, 2022 04:16 AM UTC

Hi Esther,


Thanks for the update.


Please let us know if you need any further assistance.


Regards,

Ajithamarlin E


Loader.
Up arrow icon