Document editor fails to load Word document in Edge

I'm using the document editor in Blazor WASM. I have tested on 3 browsers; Firefox, MS Edge and Chrome, all updated to the current version.


In Chrome and Firefox, I can succesfully load documents.

In Edge, I get a blank document with no content.


Am I doing something wrong, or is this a bug?


Relevant code snippet:

using var stream = new MemoryStream(_template.Content);
_template.Content = null;
_loadedTemplateId = _selectedTemplateId;


_renderEditor = true;
StateHasChanged();

await _documentContainer!.ResizeAsync();
await _documentContainer.DocumentEditor.ResizeAsync();

await _documentContainer.DocumentEditor.OpenAsync(stream, ImportFormatType.Docx);
_documentContainer.Toolbar.EnableItemAsync(0,false);
_contentHasChanged = false;


I'm on SyncFusion components version 25.2.7.
The project is .NET 8.



1 Reply

DS Dhanush Sekar Syncfusion Team June 11, 2024 04:45 PM UTC

Hi Bjorn,


We have tried to replicate the reported issue with our latest version 25.2.7. We couldn't encounter any issue from our end. We have attached the video and sample for your reference.

Could you please confirm that whether that the issue occurs with specific document or all documents?

If you are facing issue with specific document, then share the input word document or if you are facing issue with all documents, then share the issue reproducible sample. Therefore, we will validate further and provide you the solution at earliest.


Regards,

Dhanush S


Attachment: Sample_5e6e95b3.zip

Loader.
Up arrow icon