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?