Html Text Editor

I am trying to implement the OnPaste function on a RadzenHtmlEditor control, I want to strip out the html and do a plain text paste. Ive noticed a weird pattern where if this method is defined, If the data being pasted is not plain text, it never fires into the control. I added some formatted text in word and tried to paste in, the server struggles and the pasted content does not show up, nor does the OnPaste event fire. Text from notepad pastes in fine.

<RadzenHtmlEditor @bind-Value=@html Paste=@OnPaste />
@code {
  string html = "@lt;strong>Hello</strong> world!";
  void OnPaste(HtmlEditorPasteEventArgs args)
  {
    // Set args.Html to filter unwanted tags.
  }

What does that mean? Maybe the payload is too big and SignalR doesn't allow it.

It means I receive the " Attempting to reconnect to the server: 1 of 8" Message at the top of the screen when this happens and the data is never pasted. I did change my Signal R payload and that causes this to not happen. However I wanted to bring this up because the payload aside, This was only 3 lines of formatted text in word, It causes an error when a Paste action is defined, Same page different text editor without the paste action defined, It pastes without an issue.

When the Paste event is handled the content is sent to the server via SignalR. Otherwise it isn't and the browser performs the paste. Even a few lines of text from word contain a lot of extra markup which can easily exceed the default SignalR payload size.

I tried increasing my SignalRSize in program.cs and still this event is never hit for me when i right click and paste. when i do right click and paste and select paste as plain text then the event is triggered. Any Thoughts?