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
<PackageReference Include="Syncfusion.Blazor.RichTextEditor" Version="34.2.9" />
<PackageVersion Include="Syncfusion.Blazor.RichTextEditor" Version="34.2.9" />
<PackageReference Include="Syncfusion.Blazor.RichTextEditor" />
paket add Syncfusion.Blazor.RichTextEditor --version 34.2.9
#r "nuget: Syncfusion.Blazor.RichTextEditor, 34.2.9"
#:package Syncfusion.Blazor.RichTextEditor@34.2.9
#addin nuget:?package=Syncfusion.Blazor.RichTextEditor&version=34.2.9
#tool nuget:?package=Syncfusion.Blazor.RichTextEditor&version=34.2.9
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.

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
- Dual editing modes: HTML and Markdown (MD) editing with mode switching
- Rich formatting tools: Text formatting, fonts, colors, alignment, and styles
- Insert capabilities: Images, links, tables, lists, code blocks, and media
- Toolbar customization: Configurable toolbar with custom tools and commands
- Table support: Create and edit tables with cell merging and formatting
- Image management: Upload, resize, and position images with drag-and-drop
- Link insertion: Insert hyperlinks and email links with validation
- Paste cleanup: Smart paste from Word and other sources with formatting cleanup
- Undo/Redo: Full undo and redo support with history management
- Full-screen mode: Distraction-free editing experience
- Character and word count: Track content length in real-time
- Import/Export: Import Word documents and export content
- Inline mode and iframe mode: Flexible rendering options
- Custom formatting: Apply custom CSS classes and inline styles
- Themes: Multiple built-in themes and custom styling
- Accessibility & RTL: Built-in accessibility compliance and right-to-left (RTL) support
- Responsive Design: Responsive layout with mobile touch optimization
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
- Register the Syncfusion Blazor service in
Program.cs:
using Syncfusion.Blazor;
builder.Services.AddSyncfusionBlazor();
- Add the Rich Text Editor component to your Razor page:
@using Syncfusion.Blazor.RichTextEditor
<SfRichTextEditor></SfRichTextEditor>
- 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 }
};
}
- 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
- Getting Started with Blazor Web App
- Getting Started with Blazor WebAssembly
- API Reference
- Blazor Rich Text Editor Component Features Overview
- Blazor Rich Text Editor Component Demos
- Blazor Rich Text Editor Component Video Tutorials
Support and Feedback
- For queries, reach our Syncfusion support team or post them through the community forums.
- Request new features through the Syncfusion feedback portal.
Other Popular Blazor Components
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
Desktop: WinForms | WPF | WinUI
Learn more at www.syncfusion.com.
sales@syncfusion.com | Toll Free: 1-888-9-DOTNET
| Product | Versions 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. |
-
net10.0
- Syncfusion.Blazor.Buttons (>= 34.2.9)
- Syncfusion.Blazor.Core (>= 34.2.9)
- Syncfusion.Blazor.Inputs (>= 34.2.9)
- Syncfusion.Blazor.Navigations (>= 34.2.9)
- Syncfusion.Blazor.Popups (>= 34.2.9)
- Syncfusion.Blazor.SplitButtons (>= 34.2.9)
- Syncfusion.Telemetry (>= 34.2.9)
-
net8.0
- Syncfusion.Blazor.Buttons (>= 34.2.9)
- Syncfusion.Blazor.Core (>= 34.2.9)
- Syncfusion.Blazor.Inputs (>= 34.2.9)
- Syncfusion.Blazor.Navigations (>= 34.2.9)
- Syncfusion.Blazor.Popups (>= 34.2.9)
- Syncfusion.Blazor.SplitButtons (>= 34.2.9)
- Syncfusion.Telemetry (>= 34.2.9)
-
net9.0
- Syncfusion.Blazor.Buttons (>= 34.2.9)
- Syncfusion.Blazor.Core (>= 34.2.9)
- Syncfusion.Blazor.Inputs (>= 34.2.9)
- Syncfusion.Blazor.Navigations (>= 34.2.9)
- Syncfusion.Blazor.Popups (>= 34.2.9)
- Syncfusion.Blazor.SplitButtons (>= 34.2.9)
- Syncfusion.Telemetry (>= 34.2.9)
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 |