Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hello,

I have the following code:

lDej7YF.png

When setting EnableToolbar="false" on the SfDocumentEditorContainer the following exception is thrown:
Uncaught (in promise) Error: System.NullReferenceException: Object reference not set to an instance of an object.
   at Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.TriggerDocumentEditorContainerEvents(String eventName)
   at Syncfusion.Blazor.DocumentEditor.SfDocumentEditorContainer.OnDocumentChange()
   at Syncfusion.Blazor.DocumentEditor.SfDocumentEditor.OnDocumentChange(DocumentChangeEventArg args)
   at Syncfusion.Blazor.DocumentEditor.Internal.DocumentEditorJSInteropAdaptor.OnDocumentChange(DocumentChangeEventArg args)
    at kt.endInvokeDotNetFromJS (blazor.server.js:1:3700)
    at blazor.server.js:1:72077
    at Array.forEach ()
    at kt._invokeClientMethod (blazor.server.js:1:72063)
    at kt._processIncomingData (blazor.server.js:1:70105)
    at connection.onreceive (blazor.server.js:1:64508)
    at o.onmessage (blazor.server.js:1:48842)

When removing the EnableToolbar there is no exception.
When modifying the EnableToolbar property via code there is also no exception.

Kind regards,

Jaap