Paste issue from Excel table

Hi.

While trying to paste a large Excel table into the editor, the content does appear in the editor, but the binding value does not get updated. 
in my use case, I'm binding the value to an object, and when trying to save it, it is blank.
when I paste only few lines, it does work.

This can also be repro in your samples page.

open the sample for 'export to pdf'
https://blazor.syncfusion.com/demos/rich-text-editor/export-word?theme=fluent2
and try to paste the attached Excel file inner table.

when you will try to perform the 'export to pdf', the created PDF will be blanked.





0

Attachment: excel_export_sample_5b65d54d.xlsx

5 Replies

VJ Vinitha Jeyakumar Syncfusion Team November 5, 2025 10:25 AM UTC

Hi Eli Gazit,



We have considered the reported issue "PDF Export doesn't include the last updated value in RichTextEditor " as a bug from our end, and the fix for the issue will be included in our upcoming weekly patch release scheduled for the third week of November 2025.

 

Now you can track the status of the reported issue through this feedback,



VJ Vinitha Jeyakumar Syncfusion Team November 24, 2025 06:01 AM UTC

Hi Eli Gazit,

We are glad to announce that our Essential Studio® 2025 Volume SP 2 Release v31.2.12 is rolled out and is available for download under the following link.


We have included the fix for the reported issue "PDF Export doesn't include the last updated value in RichTextEditor " with our Volume SP 2 Release v31.2.12. Please upgrade your package to the latest version to resolve the issue from your end.





EG Eli Gazit December 3, 2025 04:32 PM UTC

Hi. we have tried to update the DLLs and attempt to paste the Excel again but it did not work.

the paste from Excel into the rich text editor fails to set the control



EG Eli Gazit December 3, 2025 04:42 PM UTC

I've checked the samples site, and the 'paste' action does work now, however, the my actual behavior is not exactly that, I've just used this sample to show the issue.

I'm using rich text editor that is bind to a property.
when the submit is done, the value 'set' is expected to be called, and it does. however, once I paste large table from Excel it is not being called.

It is important to note that everything works just fine when creating tables, and adding text, but when pasting a large table from Excel (see OP excel sample), the bind does not occur when submiting 

This is the relevant part - a dialog with 2 rich text editors:

<SfDialog Width="900px" IsModal="true" ShowCloseIcon="true"

                          @bind-Visible="@showEditDialog">

            <DialogTemplates>

                        <Header>

                                    <h3>Edit @editToolConfigContext.ToolId Configuration</h3>

                        </Header>

                        <Content>

                                    <EditForm Model=@editToolConfigContext OnValidSubmit="HandleEditSubmit">

                                                <div class="mb-2">

                                                            <label class="p-1 m-1 bg-ht-primary text-white fw-bold">Configuration</label>

                                                            <div class="d-flex editor-config">

                                                                        <SfRichTextEditor EnterKey="EnterKeyTag.P"

                                                                                                                          EnableTabKey="true"

                                                                                                                          Width="100%"

                                                                                                                          EnableXhtml="true"

                                                                                                                          Height="100%"

                                                                                                                          EnableHtmlSanitizer="true"

                                                                                                                          AutoSaveOnIdle="false"

                                                                                                                          @bind-value="editToolConfigContext.ToolConfig">

                                                                                    <RichTextEditorToolbarSettings Items="@HTDashboardDataSource.EditModeTools">


                                                                                    </RichTextEditorToolbarSettings>

                                                                                   

                                                                        </SfRichTextEditor>

                                                            </div>

                                                </div>

                                                <div class="mb-2">

                                                            <label class="p-1 m-1 bg-ht-primary text-white fw-bold">Tool Limitation</label>

                                                            <div class="d-flex editor-limitation">

                                                                        <SfRichTextEditor EnterKey="EnterKeyTag.P"

                                                                                                                          EnableTabKey="true"

                                                                                                                          CssClass="inner-page-hero"

                                                                                                                          Width="100%"

                                                                                                                          Height="100%"

                                                                                                                          @bind-Value="editToolConfigContext.Limitation">

                                                                                    <RichTextEditorToolbarSettings Items="@HTDashboardDataSource.EditModeTools">


                                                                                    </RichTextEditorToolbarSettings>


                                                                        </SfRichTextEditor>

                                                            </div>

                                                </div>



                                                <div class="mb-2 d-flex justify-content-end">

                                                            <SfButton CssClass="e-flat my-3" title="Update" IsPrimary="true" type="submit"

                                                                                      IconCss="e-icons smallIcon e-check-large">Update</SfButton>


                                                            <SfButton CssClass="e-flat my-3" title="Cancel" @onclick="() => showEditDialog = false"

                                                                                      IconCss="e-icons smallIcon e-close">Cancel</SfButton>

                                                </div>

                                    </EditForm>

                        </Content>

            </DialogTemplates>

            <DialogEvents OnClose="() => { showEditDialog = false; }"></DialogEvents>

            <DialogAnimationSettings Effect="DialogEffect.FadeZoom" />

</SfDialog>


and the data context object:

public class HTConfigContext

{

    public string ToolId { get; set; }


    public string ToolConfig

    {

        get;

        set;

    } = "";


    public string Limitation { get; set; } = "";

}







VJ Vinitha Jeyakumar Syncfusion Team December 9, 2025 05:14 AM UTC

Hi Eli Gazit,


We would like to let you know that the Blazor Server sends the entire editor value to the server over SignalR (WebSockets). The default maximum receive message size is ~32 KB. Large editor values (common with Excel/Word paste) exceed it, which causes the SignalR connection to close and the client to start reconnecting, and causes your reported issue.

And it can be resolved by raising the SignalR message-size limit (Program.cs)

using Microsoft.AspNetCore.SignalR;

builder.Services.Configure<HubOptions>(o => o.MaximumReceiveMessageSize = 1024 * 1024);



Loader.
Up arrow icon