Syncfusion.AspNetCore.BlockEditor
34.2.2
Prefix Reserved
See the version list below for details.
dotnet add package Syncfusion.AspNetCore.BlockEditor --version 34.2.2
NuGet\Install-Package Syncfusion.AspNetCore.BlockEditor -Version 34.2.2
<PackageReference Include="Syncfusion.AspNetCore.BlockEditor" Version="34.2.2" />
<PackageVersion Include="Syncfusion.AspNetCore.BlockEditor" Version="34.2.2" />
<PackageReference Include="Syncfusion.AspNetCore.BlockEditor" />
paket add Syncfusion.AspNetCore.BlockEditor --version 34.2.2
#r "nuget: Syncfusion.AspNetCore.BlockEditor, 34.2.2"
#:package Syncfusion.AspNetCore.BlockEditor@34.2.2
#addin nuget:?package=Syncfusion.AspNetCore.BlockEditor&version=34.2.2
#tool nuget:?package=Syncfusion.AspNetCore.BlockEditor&version=34.2.2
Syncfusion® ASP.NET Core Block Editor Component
A block-based rich text editor for creating and managing structured content using modular blocks similar to Notion or WordPress Gutenberg. Provides intuitive editing for documents, pages, and notes.
Key Features
- Block-based editing with drag-and-drop block reordering
- Supports text, headings, lists, images, code blocks, quotes, and more
- Slash command menu for quick block insertion
- Markdown-compatible output
- Keyboard shortcut support
- Accessibility compliant
Common Setup
All Syncfusion ASP.NET Core controls share the same foundational setup steps:
1. Install NuGet Package
Install-Package Syncfusion.AspNetCore.BlockEditor
2. Register Tag Helper
Add the following to ~/Pages/_ViewImports.cshtml or ~/Views/_ViewImports.cshtml:
@addTagHelper *, Syncfusion.AspNetCore.Base
@addTagHelper *, Syncfusion.AspNetCore.BlockEditor
3. Add Stylesheet & Script References
In your layout file (~/Pages/Shared/_Layout.cshtml):
<head>
<link rel="stylesheet" href="_content/Syncfusion.AspNetCore.Themes/styles/fluent2.css" />
<script src="_content/Syncfusion.AspNetCore.BlockEditor/scripts/sf-blockeditor.min.js"></script>
</head>
4. Register Script Manager
In your layout file (~/Pages/Shared/_Layout.cshtml), At the end of your <body> tag:
<ejs-scripts></ejs-scripts>
Quick Start
Step 1: Create a PageModel
Create ~/Pages/Index.cshtml.cs:
using Microsoft.AspNetCore.Mvc.RazorPages;
public class IndexModel : PageModel
{
public string EditorContent { get; set; } = "Start editing...";
public void OnGet()
{
// Initialize block editor
}
}
Step 2: Create the View
Create ~/Pages/Index.cshtml:
@page
@model IndexModel
<div class="container-fluid mt-5">
<h2>Block Editor Demo</h2>
<ejs-blockeditor id="blockeditor" contentChanged="onContentChanged">
<e-blockeditor-toolbarconfig items="@(new List<string> { "Undo", "Redo" })"></e-blockeditor-toolbarconfig>
</ejs-blockeditor>
<div class="mt-3">
<button class="btn btn-primary" onclick="getContent()">Get Content</button>
</div>
</div>
<script>
function onContentChanged() {
console.log("Content changed");
}
function getContent() {
const blockEditor = document.getElementById('blockeditor').ej2_instances[0];
const content = blockEditor.getContent();
console.log(JSON.stringify(content));
}
</script>
Step 3: Run the Application
Press Ctrl+F5 to run the application in your browser.
Documentation
Support
License
This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA
About Syncfusion®
Syncfusion® provides 1600+ UI 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
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.2)
- Syncfusion.AspNetCore.Buttons (>= 34.2.2)
- Syncfusion.AspNetCore.DropDowns (>= 34.2.2)
- Syncfusion.AspNetCore.Inputs (>= 34.2.2)
- Syncfusion.AspNetCore.Navigations (>= 34.2.2)
- Syncfusion.AspNetCore.Popups (>= 34.2.2)
- Syncfusion.AspNetCore.SplitButtons (>= 34.2.2)
- Syncfusion.Licensing (>= 34.2.2)
- Syncfusion.Telemetry (>= 34.2.2)
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.2)
- Syncfusion.AspNetCore.Buttons (>= 34.2.2)
- Syncfusion.AspNetCore.DropDowns (>= 34.2.2)
- Syncfusion.AspNetCore.Inputs (>= 34.2.2)
- Syncfusion.AspNetCore.Navigations (>= 34.2.2)
- Syncfusion.AspNetCore.Popups (>= 34.2.2)
- Syncfusion.AspNetCore.SplitButtons (>= 34.2.2)
- Syncfusion.Licensing (>= 34.2.2)
- Syncfusion.Telemetry (>= 34.2.2)
-
net9.0
- Newtonsoft.Json (>= 13.0.4)
- Syncfusion.AspNetCore.Base (>= 34.2.2)
- Syncfusion.AspNetCore.Buttons (>= 34.2.2)
- Syncfusion.AspNetCore.DropDowns (>= 34.2.2)
- Syncfusion.AspNetCore.Inputs (>= 34.2.2)
- Syncfusion.AspNetCore.Navigations (>= 34.2.2)
- Syncfusion.AspNetCore.Popups (>= 34.2.2)
- Syncfusion.AspNetCore.SplitButtons (>= 34.2.2)
- Syncfusion.Licensing (>= 34.2.2)
- Syncfusion.Telemetry (>= 34.2.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 35.2.15 | 64 | 11/30/2026 |
| 35.2.13 | 106 | 11/23/2026 |
| 35.2.12 | 146 | 11/18/2026 |
| 35.1.46 | 118 | 11/11/2026 |
| 35.1.43 | 130 | 11/2/2026 |
| 35.1.42 | 123 | 10/27/2026 |
| 35.1.41 | 119 | 10/20/2026 |
| 35.1.40 | 116 | 10/13/2026 |
| 35.1.39 | 125 | 10/6/2026 |
| 35.1.37 | 174 | 9/29/2026 |
| 34.2.9 | 131 | 9/21/2026 |
| 34.2.8 | 139 | 9/14/2026 |
| 34.2.7 | 153 | 9/8/2026 |
| 34.2.6 | 136 | 8/31/2026 |
| 34.2.5 | 145 | 8/25/2026 |
| 34.2.4 | 151 | 8/17/2026 |
| 34.2.3 | 140 | 8/11/2026 |
| 34.2.2 | 167 | 8/5/2026 |
| 34.1.33 | 158 | 7/27/2026 |
| 34.1.32 | 152 | 7/21/2026 |