Evaluate the Rich Text Editor SDK free.Start building today.
Add the Rich Text Editor SDK to your app.
Use a package manager to add the Rich Text Editor SDK to your application now, or download Syncfusion Studio to browse samples and binaries on your desktop.
Follow these steps to integrate the Blazor Block Editor component into an existing Blazor Web App using the Interactive Server render mode.
Install NuGet Packages
Install the required NuGet packages using the Package Manager Console (PMC)
Install-Package Syncfusion.Blazor.BlockEditor Install-Package Syncfusion.Blazor.Themes
Register Syncfusion® Blazor Service
Register the Syncfusion Blazor service in the Program.cs file and include the required namespace reference using Syncfusion.Blazor;.
builder.Services.AddSyncfusionBlazor();
Register Syncfusion license key
Register the Syncfusion license key in the Program.cs file after the AddSyncfusionBlazor() call.
// Register the Syncfusion license
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR_LICENSE_KEY");
Add Theme Stylesheet and Script
Add the Syncfusion theme stylesheet at the end of the <head> section in the Components/App.razor file to apply styling.
<link href="_content/Syncfusion.Blazor.Themes/fluent2.css" rel="stylesheet" />
Add Syncfusion® Blazor Block Editor component
Add the Syncfusion® Blazor Block Editor component in ~/Components/Pages/Home.razor.
@using Syncfusion.Blazor.BlockEditor
@rendermode InteractiveServer
<SfBlockEditor Blocks="BlockData"></SfBlockEditor>
@code {
private List<BlockModel> BlockData = new()
{
new BlockModel
{
BlockType = BlockType.Paragraph,
Content = new()
{
new ContentModel
{
ContentType = ContentType.Text,
Content = "Welcome to the modern Block Editor! ",
Properties = new TextContentSettings {
Styles = new StyleModel { Bold = true }
}
},
new ContentModel
{
ContentType = ContentType.Text,
Content = "Experience an intuitive block-based editing workflow for creating rich and structured content. Insert blocks using the slash command (/), Action Menu, Context Menu, apply formatting with inline editing tools, and effortlessly rearrange content through drag-and-drop block interactions."
}
}
}
};
}
Search a control. Copy its install command.
Search 245 controls across 14 platforms. Each command comes from that control’s getting-started guide, and every package is checked on NuGet, npm, or pub.dev.
Loading controls…
Evaluate faster with your coding agent.
Paste this prompt into GitHub Copilot, Claude Code, Cursor, or any agent. It sets up Syncfusion for your project from ai.syncfusion.com before it writes code.
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 skills, MCP status, and any required licensing action.
No key needed to install the skills. The MCP servers use the API key that comes with a free account. Agent setup guides
AI assistants
IDEs
Short, task-first walkthroughs.
Need help getting started?
Explore our resources or reach out to our support team for assistance.
Product Updates
Technical Support
AI Solutions
Syncfusion Studio for your desktop.
One small download. Browse every product, download samples and binaries, and set up your IDE and AI assistant.