Paste EventCallBack does not accept when copy text from word or pdf

HI,

I tried to invoke the Paste callbackevent in HtmlEditor to clean up all the inline styles that user copy from word/pdf/another website ... However it works only when copy from website or html format. If I copy the content from word and pdf , it caused the disconnect sever and the page reload again.

Thanks

This is because the SignalR channel is throwing an exception as the message is too large. From the Radzen Demo, when adding the ServerSideBlazor you can increase the maximum message size.

In Startup.cs replace:

services.AddServerSideBlazor();

with

services.AddServerSideBlazor().AddHubOptions(o =>
{
    o.MaximumReceiveMessageSize = 10 * 1024 * 1024;
});