/syncfusion-aspnet-mvc:syncfusion-aspnetmvc-blockeditorfrom Syncfusion ASP.NET MVC UI Controls
Implement Syncfusion ASP.NET MVC Block Editor control. Use when building block-based rich content editors, configuring block types (Paragraph, Heading, List, Code, Table, Image, Callout, Collapsible), handling drag-and-drop, editor menus (slash command, context, block action, inline toolbar), events, methods, paste cleanup, undo/redo, globalization, appearance, collaborative editing with real-time synchronization, version history, and user presence features in ASP.NET MVC Razor views.
Ships in Syncfusion ASP.NET MVC UI Controls. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Block Editor control provides a block-based rich content editing experience in ASP.NET MVC applications. Content is structured as a collection of typed blocks (Paragraph, Heading, List, Code, Table, Image, etc.), each independently configurable with content, properties, and inline styles.
@using Syncfusion.EJ2.BlockEditor
<div id='blockeditor-container'>
@Html.EJS().BlockEditor("block-editor").Render()
</div>
<style>
#blockeditor-container { margin: 20px auto; }
</style>
public ActionResult Index()
{
return View();
}
With initial blocks:
@using Syncfusion.EJ2.BlockEditor
<div id='blockeditor-container'>
@Html.EJS().BlockEditor("block-editor").Blocks((List<BlockModel>)ViewBag.BlocksData).Render()
</div>
public class BlockModel
{
public string id { get; set; }
public string blockType { get; set; }
public object properties { get; set; }
public List<object> content { get; set; }
}
public ActionResult Index()
{
var blocks = new List<BlockModel>
{
new BlockModel
{
id = "heading-1",
blockType = "Heading",
properties = new { level = 1 },
content = new List<object>
{
new { contentType = "Text", content = "My Document" }
}
},
new BlockModel
{
id = "para-1",
blockType = "Paragraph",
content = new List<object>
{
new { contentType = "Text", content = "Start writing here." }
}
}
};
ViewBag.BlocksData = blocks;
return View();
}
📄 Read: references/getting-started.md
When user needs to:
Syncfusion.EJ2.MVC5 NuGet packageWeb.config_Layout.cshtml📄 Read: references/block-types.md
When user needs to:
blockType, content, properties, indent, cssClass on individual blocksisChecked state📄 Read: references/inline-content.md
When user needs to:
contentType (Text, Link, Code, Mention, Label)url, openInNewWindow) on Link contentlabelId, trigger character (TriggerChar default: "$"), and LabelSettingsUsers collection and UserModel for Mention contentuserId📄 Read: references/nested-blocks.md
When user needs to:
children, isExpanded, levelparentId (top-level on BlockModel) to establish parent-child relationships📄 Read: references/embed-blocks.md
When user needs to:
src, altText, width, heightImageBlockSettings (saveUrl, path, saveFormat, allowedTypes, maxFileSize, enableResize)BeforeFileUpload (validate/cancel), FileUploading (add auth headers), FileUploadSuccess (read saved URL), FileUploadFailed (error feedback)CodeBlockSettings (defaultLanguage default: "javascript", languages array)📄 Read: references/table-block.md
When user needs to:
enableHeader, enableRowNumbers, readOnly, width on a tableheaderText) and row cells with columnId and nested blocks📄 Read: references/editor-menus.md
When user needs to:
CommandMenuSettings): popup size, custom commands, tooltip, Filtering/ItemSelect eventsContextMenuSettings): enable, custom items, submenus, ShowItemOnClick, Opening/Closing/ItemSelect eventsBlockActionsMenuSettings): custom items, tooltip, popup size, Opening/Closing/ItemSelect eventsInlineToolbarSettings): enable, items, popup width, tooltip, ItemClick eventFontColorSettings, BackgroundColorSettings)📄 Read: references/events.md
When user needs to:
Created, Focus, BlurBlockChanged, SelectionChangedBlockDragStart, BlockDragging, BlockDroppedBeforePasteCleanup, AfterPasteCleanupBeforeFileUpload, FileUploading, FileUploadSuccess, FileUploadFailed📄 Read: references/methods.md
When user needs to:
addBlock, removeBlock, moveBlock, updateBlock, getBlock, getBlockCount)setSelection, setCursorPosition, getSelectedBlocks, getRange, selectRange, selectBlock, selectAllBlocksfocusIn, focusOutexecuteToolbarAction, enableToolbarItems, disableToolbarItemsgetDataAsJson, getDataAsHtml, renderBlocksFromJson, parseHtmlToBlocks, printej.base.getInstance in the Created event📄 Read: references/appearance.md
When user needs to:
Width and HeightReadOnly mode (view-only, no edits)CssClass to the editor containerEnablePersistence📄 Read: references/paste-cleanup.md
When user needs to:
PasteCleanupSettings: DeniedTags, KeepFormat, PlainText📄 Read: references/undo-redo-keyboard.md
When user needs to:
UndoRedoStack size (default: 30)KeyConfig property📄 Read: references/globalization.md
When user needs to:
Locale for localized UI strings (e.g., de for German)EnableRtl📄 Read: references/drag-drop.md
When user needs to:
EnableDragAndDrop📄 Read: references/security.md
When user needs to:
EnableHtmlSanitizer protection (default: true)EnableHtmlEncode (default: false)📄 Read: references/collaborative-editing.md
When user needs to:
CollaborationSettings with adapter and providerEnableAwarenessUsers and CurrentUserIdIVersionStorage interface (IndexedDB, database, cloud)SnapshotCreated, SnapshotRestored| Property | Type | Purpose |
|---|---|---|
Blocks | List<BlockModel> | Initial block content |
Width | string | Editor width (e.g., "100%", "800px") |
Height | string | Editor height (e.g., "80vh", "500px") |
ReadOnly | bool | Enable view-only mode (default: false) |
CssClass | string | Custom CSS class on editor container |
EnableDragAndDrop | bool | Allow block reordering (default: true) |
UndoRedoStack | int | Max undo/redo steps (default: 30) |
Locale | string | Culture code for localization (default: "en-US") |
EnableRtl | bool | Right-to-left layout (default: false) |
EnableHtmlSanitizer | bool | XSS protection — strips dangerous tags/attrs (default: true) |
EnableHtmlEncode | bool | Escape special HTML characters in output (default: false) |
EnablePersistence | bool | Persist editor state across page reloads (default: false) |
KeyConfig | object | Custom keyboard shortcut overrides |
CommandMenuSettings | object | Slash command menu config (/ key) |
ContextMenuSettings | object | Right-click context menu config |
BlockActionsMenu | object | Block action menu config (hover drag handle) |
InlineToolbarSettings | object | Inline formatting toolbar config (text selection) |
TransformSettings | object | Block transform options in the inline toolbar |
FontColorSettings | object | Font color palette/picker config |
BackgroundColorSettings | object | Background highlight color palette/picker config |
PasteCleanupSettings | object | Paste content cleanup rules |
ImageBlockSettings | object | Global image block configuration |
CodeBlockSettings | object | Global code block configuration (defaultLanguage: "javascript") |
LabelSettings | object | Label item definitions and trigger character (default: "$") |
Users | List<UserModel> | User list for @ mention resolution |
Always capture the instance in Created; all method calls require this reference:
var blockEditorObj;
function onCreated() {
blockEditorObj = ej.base.getInstance(
document.getElementById('block-editor'),
ejs.blockeditor.BlockEditor
);
}
@Html.EJS().BlockEditor("block-editor").Created("onCreated").Render()
var jsonData = blockEditorObj.getDataAsJson();
// Send to server or store in state
var newBlock = {
id: 'new-para',
blockType: 'Paragraph',
content: [{ contentType: 'Text', content: 'Added programmatically' }]
};
blockEditorObj.addBlock(newBlock, 'existing-block-id', true); // true = insert after
blockEditorObj.readOnly = true; // enable read-only
blockEditorObj.readOnly = false; // re-enable editing
references/appearance.md (opens in a new tab)references/block-types.md (opens in a new tab)references/collaborative-editing.md (opens in a new tab)references/drag-drop.md (opens in a new tab)references/editor-menus.md (opens in a new tab)references/embed-blocks.md (opens in a new tab)references/events.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/globalization.md (opens in a new tab)references/inline-content.md (opens in a new tab)references/methods.md (opens in a new tab)references/nested-blocks.md (opens in a new tab)references/paste-cleanup.md (opens in a new tab)references/security.md (opens in a new tab)references/table-block.md (opens in a new tab)references/undo-redo-keyboard.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
38 skills in this plugin
/syncfusion-aspnetmvc-3d-chartBuild interactive 3D charts in ASP.NET MVC using Syncfusion controls. Trigger when user needs 3D data visualization with bar charts, column charts, stacked variants, axis configuration, data labels, legends, tooltips, interactive selection, or print/export functionality. Use this skill for any 3D chart implementation in MVC applications./syncfusion-aspnetmvc-accumulation-chartsComplete API reference and implementation guide for Syncfusion Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) for ASP.NET MVC 5 applications. ALWAYS use this skill when user mentions accumulation charts, pie charts, doughnut charts, pyramid charts, funnel charts, circular charts, data visualization with percentages, proportional data display survey results display, budget breakdown, or any scenario requiring visual representation of parts-to-whole relationships in ASP.NET MVC./syncfusion-aspnetmvc-ai-assistviewImplement the Syncfusion ASP.NET MVC AI AssistView component — a conversational AI chat interface with prompt/response rendering, prompt suggestions, mentions in the prompt editor, custom views, toolbar customization, file attachments, speech-to-text, telemetry tracking, AI backend integrations (Azure OpenAI, Gemini, Ollama, LiteLLM), generative UI with interactive tools, Chain of Thoughts reasoning visualization and text-to-speech audio playback. Use this skill when building AI chat UIs, integrating LLM backends, configuring assistant toolbars, customizing templates, rendering dynamic UI components, or handling voice input/output in ASP.NET MVC applications./syncfusion-aspnetmvc-barcodesUse this skill whenever the user asks to generate, customize, render, or export barcodes, QR codes, or DataMatrix codes using Syncfusion ASP.NET MVC Barcode components. Trigger this skill for requests involving BarcodeGenerator,QRCodeGenerator, or DataMatrixGenerator, including barcode types such as Code39,Code128, and Codabar, visual customization (color, size, display text), QR logo embedding, and exporting barcodes as JPG, PNG, or Base64 in ASP.NET MVC projects./syncfusion-aspnetmvc-bullet-chartImplement Syncfusion ASP.NET MVC Bullet Charts for data visualization. Always use when user needs bullet charts, performance indicators, KPI dashboards, target vs actual comparisons, quality range visualizations, progress metrics, or data with comparative targets. Covers installation, data binding, ranges, value bars, comparative bars, axis customization, labels, tooltips, titles, dimensions, theming, accessibility, and RTL support for ASP.NET MVC applications./syncfusion-aspnetmvc-chartsComplete implementation guide for Syncfusion ASP.NET MVC Chart component. Always use this when users need data visualization, charts, graphs, plotting data, financial charts, statistical charts, line charts, bar charts, column charts, area charts, pie charts, donut charts, scatter plots, bubble charts, candlestick charts, OHLC charts, technical indicators, trendlines, zooming, panning, tooltips, legends, data labels, axes configuration, multiple series, combination charts.npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-aspnet-mvc