Syncfusion.Blazor.RichTextEditor 34.2.9

Prefix Reserved
dotnet add package Syncfusion.Blazor.RichTextEditor --version 34.2.9
                    
NuGet\Install-Package Syncfusion.Blazor.RichTextEditor -Version 34.2.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Syncfusion.Blazor.RichTextEditor" Version="34.2.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Syncfusion.Blazor.RichTextEditor" Version="34.2.9" />
                    
Directory.Packages.props
<PackageReference Include="Syncfusion.Blazor.RichTextEditor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Syncfusion.Blazor.RichTextEditor --version 34.2.9
                    
#r "nuget: Syncfusion.Blazor.RichTextEditor, 34.2.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Syncfusion.Blazor.RichTextEditor@34.2.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Syncfusion.Blazor.RichTextEditor&version=34.2.9
                    
Install as a Cake Addin
#tool nuget:?package=Syncfusion.Blazor.RichTextEditor&version=34.2.9
                    
Install as a Cake Tool

Syncfusion Blazor Rich Text Editor

This package contains the Blazor Rich Text Editor component for Blazor applications. The Blazor Rich Text Editor is a powerful WYSIWYG editor for creating blogs, forum posts, notes, comments, messaging applications, and support tickets. It provides comprehensive formatting tools, supports both HTML and Markdown modes, and returns valid markup for seamless content integration.

Blazor Rich Text Editor

Using this package with an AI coding agent

Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:

Set up this project for Syncfusion before generating code. Fetch and follow the official instructions at https://ai.syncfusion.com, then report the detected platform, installed skill pack, MCP status, and any required licensing action.

The setup detects your project's platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.

Platform reference: https://ai.syncfusion.com/blazor/llms.txt

Key Features

System Requirements

  • .NET 8.0 or later (Blazor Server, Blazor Web App, Blazor WebAssembly, Blazor Hybrid)
  • See full requirements: System Requirements

Installation

Install the Rich Text Editor package and the themes package, which provides the stylesheets referenced below:

dotnet add package Syncfusion.Blazor.RichTextEditor
dotnet add package Syncfusion.Blazor.Themes

Add Stylesheet and Script References

For Blazor Web App / Blazor Server, add these to Components/App.razor or App.razor. For Blazor WebAssembly, add these to wwwroot/index.html:

<link href="_content/Syncfusion.Blazor.Themes/fluent2.css" rel="stylesheet" />
<script src="_content/Syncfusion.Blazor.RichTextEditor/scripts/sf-richtexteditor.min.js" type="text/javascript"></script>

Quick Start

  1. Register the Syncfusion Blazor service in Program.cs:
using Syncfusion.Blazor;

builder.Services.AddSyncfusionBlazor();
  1. Add the Rich Text Editor component to your Razor page:
@using Syncfusion.Blazor.RichTextEditor

<SfRichTextEditor></SfRichTextEditor>
  1. Configure the toolbar with specific tools
@using Syncfusion.Blazor.RichTextEditor

<SfRichTextEditor @bind-Value="@content">
    <RichTextEditorToolbarSettings Items="@tools" />
</SfRichTextEditor>

@code {
    private string content = "<p>Start typing...</p>";
    
    private List<ToolbarItemModel> tools = new List<ToolbarItemModel>()
    {
        new ToolbarItemModel() { Command = ToolbarCommand.Bold },
        new ToolbarItemModel() { Command = ToolbarCommand.Italic },
        new ToolbarItemModel() { Command = ToolbarCommand.Underline },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.Formats },
        new ToolbarItemModel() { Command = ToolbarCommand.Alignments },
        new ToolbarItemModel() { Command = ToolbarCommand.OrderedList },
        new ToolbarItemModel() { Command = ToolbarCommand.UnorderedList },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.CreateLink },
        new ToolbarItemModel() { Command = ToolbarCommand.Image },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.Undo },
        new ToolbarItemModel() { Command = ToolbarCommand.Redo }
    };
}
  1. Enable Markdown editing
@using Syncfusion.Blazor.RichTextEditor

<SfRichTextEditor EditorMode="EditorMode.Markdown" @bind-Value="@markdownContent">
    <RichTextEditorToolbarSettings Items="@markdownTools" />
</SfRichTextEditor>

@code {
    private string markdownContent = "# Hello Markdown\n\nThis is **bold** and this is *italic*.";
    
    private List<ToolbarItemModel> markdownTools = new List<ToolbarItemModel>()
    {
        new ToolbarItemModel() { Command = ToolbarCommand.Bold },
        new ToolbarItemModel() { Command = ToolbarCommand.Italic },
        new ToolbarItemModel() { Command = ToolbarCommand.StrikeThrough },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.Formats },
        new ToolbarItemModel() { Command = ToolbarCommand.OrderedList },
        new ToolbarItemModel() { Command = ToolbarCommand.UnorderedList },
        new ToolbarItemModel() { Command = ToolbarCommand.Separator },
        new ToolbarItemModel() { Command = ToolbarCommand.CreateLink },
        new ToolbarItemModel() { Command = ToolbarCommand.Image }
    };
}

Documentation

Support and Feedback

Explore other popular Syncfusion Blazor components curated from UI components, standalone SDKs, and document solution suites.

UI components Standalone UI SDK's Document Processing
Blazor Charts<br/> Blazor File Manager<br/> Blazor DataGrid<br/> Blazor Gantt Chart<br/> Blazor Diagram<br/> Blazor Scheduler<br/> Blazor Kanban Blazor DOCX Editor<br/> Blazor PDF Viewer<br/> Blazor Spreadsheet Editor

License

This is a commercial product and requires a paid license for possession or use. Syncfusion licensed software, including this component, is subject to the terms and conditions of the Syncfusion EULA. You can purchase a license here or start a free 30-day trial here.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 29,000 customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1800+ components and frameworks for web, mobile, and desktop development across multiple platforms:

Web: Blazor | ASP.NET Core | ASP.NET MVC | JavaScript | Angular | React | Vue

Mobile: Flutter | MAUI | UWP

Desktop: WinForms | WPF | WinUI

Learn more at www.syncfusion.com.

sales@syncfusion.com | Toll Free: 1-888-9-DOTNET

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on Syncfusion.Blazor.RichTextEditor:

Package Downloads
Syncfusion.Blazor.InPlaceEditor

Provides a Syncfusion® Blazor In-Place Editor component for inline and popup editing scenarios. Supports multiple input types including TextBox, Dropdown, DatePicker, and Rich Text Editor. Optimized for seamless integration in both Blazor Server and Blazor WebAssembly applications.

Syncfusion.Blazor.Gantt

This package contains the Syncfusion® Blazor Gantt component.

CyberFrameword10_V2

CyberFrameword10_V2

Syncfusion.Blazor.SmartRichTextEditor

This package provides the functionality to utilize the features of Syncfusion® Blazor SmartRichTextEditor component, an enhanced Rich Text Editor with integrated AI assistance for content generation, editing, and analysis using Syncfusion AI AssistView.

Recrovit.RecroGridFramework.Client.Blazor.SyncfusionUI

RecroGrid Framework Blazor UI.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Syncfusion.Blazor.RichTextEditor:

Repository Stars
bhrugen/TangyBlazor
Version Downloads Last Updated
34.2.9 508 9/21/2026
34.2.8 3,319 9/14/2026
34.2.7 3,081 9/8/2026
34.2.6 3,467 8/31/2026
34.2.5 3,534 8/25/2026
34.2.4 9,769 8/17/2026
34.2.3 5,246 8/11/2026
34.2.2 9,902 8/5/2026
34.1.33 8,372 7/27/2026
34.1.32 9,793 7/21/2026
34.1.31 9,813 7/14/2026
34.1.30 2,626 7/9/2026
34.1.29 10,418 7/6/2026
33.2.15 16,124 6/23/2026
33.2.13 6,433 6/16/2026
33.2.12 13,880 6/9/2026
33.2.10 4,523 6/2/2026
33.2.8 8,007 5/26/2026
33.2.7 8,224 5/19/2026
33.2.6 7,326 5/12/2026
Loading failed