RichTextEditorToolbarSettings issue after upgrading from v27 to v32 and from .Net 8 to .Net 9

I am using SfRichTextEditor in Blazor Maui Hybrid project.

When I used Syncfusion v27, the following code used to hide the toolbar successfully.

  <RichTextEditorToolbarSettings Enable=false />

But the same code is failing after upgrading from v27 to v32 and from .Net 8 to .Net 9.

It throws the unhandled exception via the "blazor-error-ui" html block.

If I remove Enable=false and add some tools then the error goes away. How do I completely hide the toolbar like I used to be able to do in previous version.


6 Replies

KP Kokila Poovendran Syncfusion Team January 19, 2026 01:03 PM UTC

Hi Gautam Jain

Thank you for contacting us, and we sincerely apologize for the inconvenience caused.

We reviewed your query regarding the RichTextEditorToolbarSettings behavior after upgrading from version 27 to version 32 and migrating your project from .NET 8 to .NET 9. Based on your description, we created a sample using the latest Syncfusion Rich Text Editor package on .NET 9 to reproduce the issue. However, the toolbar was successfully hidden on our end, and we were unable to reproduce the exception you described.

To help you verify, we have shared a working sample for your reference.

To proceed further and identify what might be causing the issue in your application, we kindly request the following details:

  • The complete code snippet where the Rich Text Editor and RichTextEditorToolbarSettings are configured
  • Whether the issue also occurs in the sample we shared
  • A video recording of the exception occurring in your project
  • Any additional configuration or customizations applied around the toolbar or editor

These details will help us analyze your exact scenario and provide a precise solution. We appreciate your cooperation and patience as we continue investigating this.


Attachment: MauiApp1_New_df2fab2a.zip


GJ Gautam Jain January 19, 2026 04:05 PM UTC


Thanks Kokila.

I tested with your sample and the error is thrown only when Height value is given (any value) and EditorMode is Markdown along with toolbar settings Enable="false". As shown below. Please guide.


Image_5250_1768838656145



KP Kokila Poovendran Syncfusion Team January 20, 2026 10:13 AM UTC

Hi Gautam Jain


We have considered the reported issue Unhandled Exception When RichTextEditorToolbarSettings Enable False in Version 32.1.19" as a bug from our end and the fix for the issue will be included with our upcoming patch release , which is expected to be rolled out by the end of January.

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

Feedback Link: https://www.syncfusion.com/feedback/72310/unhandled-exception-when-richtexteditortoolbarsettings-enable-false-in-version-32

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.



KP Kokila Poovendran Syncfusion Team January 28, 2026 05:32 AM UTC

Hi Gautam Jain


We have included the fix for the issue "Unhandled Exception When RichTextEditorToolbarSettings Enable False in Version 32.1.19" with our package version “32.1.25”. Therefore, we recommend upgrading to our latest version to resolve the current issue.


Release Notes: https://blazor.syncfusion.com/documentation/release-notes/32.1.25?type=all#bug-fixes-4


Root cause:

In Markdown mode, when Height="100%" and ToolbarSettings Enable=false, autoResize() still attempts to call this.toolbarModule.getToolbarHeight() during initialization. However, because the toolbar module is not created, this.toolbarModule is undefined, which causes the error.


GJ Gautam Jain January 28, 2026 10:07 AM UTC

Thanks Kokila for the update. Will check immediately : )



AJ Archana Jayakumar Syncfusion Team January 30, 2026 03:56 AM UTC

Hi Gautam,

Please check and get back to us if you need any further assistance. 

Regards,
Archana


Loader.
Up arrow icon