MCPInstall

syncfusion-blazor-blockeditor

Implement Syncfusion Blazor Block Editor for modular, block-based rich content creation. ALWAYS use when building structured document editors with customizable blocks like headings, paragraphs, lists, and media. Immediately configure menus, drag-drop, undo/redo, paste cleanup, and events.

Installs
365
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-blockeditor
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-blazor-blockeditor automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Syncfusion Blazor Block Editor

Component Overview

The Syncfusion Blazor Block Editor is a powerful, modular content creation component that enables users to build rich, structured documents using customizable blocks. Each block represents a specific content type—headings, paragraphs, lists, tables, images, code blocks, and more—providing a clean, organized editing experience.

Key Features

  • Block-Based Architecture: Create structured content using distinct block types (heading, paragraph, list, table, image, code, quote, callout, divider, toggle)
  • Intuitive Menus: Slash command menu (/), context menu (right-click), block action menu (hover), and inline toolbar (text selection)
  • Drag-and-Drop Reordering: Rearrange blocks intuitively by dragging
  • Undo/Redo Support: Full history management with configurable stack depth
  • Keyboard Shortcuts: Comprehensive shortcuts for formatting, block creation, and editor operations
  • Paste Cleanup: Advanced HTML sanitization, style filtering, and tag removal for safe content pasting
  • Event System: Created, BlockChanged, SelectionChanged, Focus, Blur, and paste lifecycle events
  • Responsive Design: Adaptive to different screen sizes and viewports
  • Read-Only Mode: Display-only content without editing capabilities
  • Custom Styling: CSS class customization and theme integration

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation via NuGet (Visual Studio, VS Code, .NET CLI)
  • Blazor Web App project setup
  • Service registration and configuration
  • Import namespaces and add theme resources
  • Render modes (Server, WebAssembly, Auto)
  • Basic component initialization
  • Block configuration and data binding

Appearance and Styling

📄 Read: references/appearance-and-styling.md

  • Set component width and height
  • Read-only mode configuration
  • Custom CSS class application
  • Responsive design patterns
  • Theme customization and styling approaches
  • Style examples and best practices

Editor Menus

📄 Read: references/editor-menus.md

  • Slash command menu (built-in items, customization, events)
  • Context menu (right-click actions, customization, events)
  • Block action menu (drag handle actions, customization, events)
  • Inline toolbar (text formatting options, customization, events, optional items - transform, inline code, link)
  • Menu event handling and filtering
  • Custom command and menu item creation

Built-In Blocks

📄 Read: references/built-in-blocks.md

  • Heading blocks (levels 1-4)
  • Paragraph blocks
  • List types (bullet, numbered, checklist)
  • Table blocks
  • Code blocks
  • Image/media blocks (imageSettings properties, resizing config, image upliads )
  • Quote and callout blocks
  • Toggle (collapsible) blocks
  • Divider blocks
  • Block nesting and hierarchy

Drag-Drop and Undo-Redo

📄 Read: references/drag-drop-and-undo.md

  • Enable/disable drag-and-drop
  • Single and multiple block dragging
  • Undo/redo keyboard shortcuts
  • Configure undo/redo stack depth
  • History management and state tracking
  • Drag operation visual feedback

Events and Interactions

📄 Read: references/events-and-interactions.md

  • Created event (initialization)
  • BlockChanged event (structural changes)
  • SelectionChanged event (text selection)
  • Focus and Blur events (editor state)
  • Keyboard shortcuts (content editing, block creation, block management, general operations)
  • Custom keyboard shortcut configuration (KeyConfig)
  • Event handler patterns and examples

Content Handling

📄 Read: references/content-handling.md

  • Getting and setting block content
  • Content model structure (BlockModel, ContentModel)
  • Paste cleanup configuration (DeniedTags, KeepFormat, PlainText)
  • PasteCleanupStarting and PasteCleanupCompleted events
  • Security best practices (XSS prevention)
  • Content validation patterns

Labels and Mentions

📄 Read: references/labels-and-mentions.md

  • UserModel for mentioning users (@mentions)
  • LabelItemModel for tagging content (#labels)
  • BlockEditorLabel component configuration
  • MentionContentSettings and LabelContentSettings
  • Implementing collaborative mentions and labels
  • Practical workflow examples and patterns

Advanced Methods

📄 Read: references/advanced-methods.md

  • GetSelectedBlocksAsync() - Retrieve selected blocks
  • SelectAllBlocksAsync() - Select all blocks programmatically
  • FocusInAsync() / FocusOutAsync() - Manage editor focus
  • PrintAsync() - Print editor content
  • EnableToolbarItemsAsync() / DisableToolbarItemsAsync() - Control toolbar availability
  • Advanced workflow patterns and use cases

Advanced Features

📄 Read: references/advanced-features.md

  • WebAssembly integration and considerations
  • Performance optimization strategies
  • Custom block type implementation
  • Accessibility features (WCAG compliance)
  • Auto-save and state persistence patterns
  • Common troubleshooting scenarios

Quick Start Example

@using Syncfusion.Blazor.BlockEditor

@rendermode InteractiveAuto

<div id="container" style="height: 500px; width: 100%;">
    <SfBlockEditor @bind-Blocks="blockData" EnableDragAndDrop="true">
        <BlockEditorCommandMenu></BlockEditorCommandMenu>
        <BlockEditorContextMenu Enable="true"></BlockEditorContextMenu>
        <BlockEditorActionMenu Enable="true"></BlockEditorActionMenu>
        <BlockEditorInlineToolbar Enable="true"></BlockEditorInlineToolbar>
        <BlockEditorPasteCleanup DeniedTags="@(new string[] { "script", "iframe" })">
        </BlockEditorPasteCleanup>
    </SfBlockEditor>
</div>

@code {
    private List<BlockModel> blockData = new List<BlockModel>
    {
        new BlockModel
        {
            BlockType = BlockType.Heading,
            Properties = new HeadingBlockSettings { Level = 1 },
            Content = new List<ContentModel>
            {
                new ContentModel { ContentType = ContentType.Text, Content = "Welcome to Block Editor" }
            }
        },
        new BlockModel
        {
            BlockType = BlockType.Paragraph,
            Content = new List<ContentModel>
            {
                new ContentModel { ContentType = ContentType.Text, Content = "Start typing or use / to add new blocks..." }
            }
        }
    };
}

Common Patterns

Pattern 1: Event-Driven Content Tracking

Monitor document changes in real-time for auto-save or logging:

<SfBlockEditor BlockChanged="@OnBlockChanged" 
               SelectionChanged="@OnSelectionChanged">
</SfBlockEditor>

@code {
    private void OnBlockChanged(BlockChangedEventArgs args)
    {
        // Auto-save, track changes, update UI
    }

    private void OnSelectionChanged(SelectionChangedEventArgs args)
    {
        // Update toolbar state based on selection
    }
}

Pattern 2: Read-Only Preview Mode

Display finalized content without editing:

<SfBlockEditor @bind-Blocks="blockData" ReadOnly="true">
</SfBlockEditor>

Pattern 3: Custom Keyboard Shortcuts

Override default shortcuts for application-specific commands:

<SfBlockEditor KeyConfig="@customShortcuts">
</SfBlockEditor>

@code {
    private Dictionary<string, string> customShortcuts = new()
    {
        { "Bold", "alt+b" },
        { "Italic", "alt+i" }
    };
}

Pattern 4: Secure Paste with Content Filtering

Control paste behavior for safety and consistency:

<BlockEditorPasteCleanup 
    DeniedTags="@deniedTags"
    PlainText="false">
</BlockEditorPasteCleanup>

@code {
    private string[] deniedTags = { "script", "iframe", "object" };
}

Key Properties

PropertyTypeDefaultPurpose
BlocksList<BlockModel>EmptyThe content blocks bound to the editor
Widthstring"100%"Editor container width
Heightstring"auto"Editor container height
ReadOnlyboolfalseEnable/disable read-only mode
EnableDragAndDropbooltrueEnable/disable block dragging
UndoRedoStackint30Maximum undo/redo history depth
CssClassstring""Custom CSS classes for styling
KeyConfigDictionary<string, string>Default shortcutsCustom keyboard shortcuts

Common Use Cases

  1. Blog Platform: Create a rich blog editor with headings, images, and formatting
  2. Document Management: Build document creators for articles and reports
  3. Knowledge Base: Implement structured content editors for documentation
  4. Content Preview: Display finalized documents in read-only mode
  5. Form Builder: Use blocks to create dynamic form templates
  6. Email Templates: Create email templates with customizable blocks
  7. Proposal Builder: Generate professional proposals with block-based structure

FAQ

What does the syncfusion-blazor-blockeditor skill do?

Implement Syncfusion Blazor Block Editor for modular, block-based rich content creation. ALWAYS use when building structured document editors with customizable blocks like headings, paragraphs, lists, and media. Immediately configure menus, drag-drop, undo/redo, paste cleanup, and events.

How do I install syncfusion-blazor-blockeditor?

Run npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-blockeditor in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-blazor-blockeditor/ (personal) or .claude/skills/syncfusion-blazor-blockeditor/ (project).

Which AI agents can use syncfusion-blazor-blockeditor?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-blazor-blockeditor safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-blazor-blockeditor?

It is published by syncfusion in syncfusion/blazor-ui-components-skills. It has 365 recorded installs.

More from syncfusion/blazor-ui-components-skills

View all →

syncfusion-blazor-datagrid

syncfusion/blazor-ui-components-skills

Implements the Syncfusion Blazor DataGrid (SfGrid) for efficient tabular operations such as sorting, filtering, paging, grouping, editing, aggregates, virtualization, lazy‑load grouping, and row or column spanning. Use this skill when building data‑grid workflows in Blazor Server, WebAssembly, Web App, or MAUI applications. Supports Excel/PDF export, virtual or infinite scrolling, customizable templates, and grid state persistence for consistent and optimized data‑grid behavior.

Frontend & Design442 installs

syncfusion-blazor-common

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design409 installs

syncfusion-blazor-dropdowns

syncfusion/blazor-ui-components-skills

Comprehensive guide for implementing Syncfusion Blazor dropdown components including AutoComplete, ComboBox, DropDown List, MultiSelect Dropdown, and ListBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, custom templates, and accessible dropdown experiences in Blazor applications. Covers all dropdown components from Syncfusion.Blazor.DropDowns package.

Frontend & Design400 installs

syncfusion-blazor-charts

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design394 installs

syncfusion-blazor-popups

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design394 installs

syncfusion-blazor-license

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design386 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs