MCPInstall

syncfusion-vue-blockeditor

Implement Syncfusion Vue BlockEditor component for block-based content editing with rich text, images, tables, and interactive blocks. Use this skill ALWAYS when user needs block editor, notion-style editor, content blocks, rich text blocks, document editor with blocks, modular content editor, or mentions @syncfusion/ej2-vue-blockeditor, BlockEditor, block-based editing, content management editor, collaborative editing, real-time collaboration. Covers all 14 block types, 5 content types, drag-and-drop, menus, methods, events, real-time collaborative editing with Yjs support, user presence and remote cursors, version history, and Composition API patterns.

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

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/vue-ui-components-skills --skill syncfusion-vue-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-vue-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 Vue BlockEditor Component

The Syncfusion Vue BlockEditor is a powerful block-based content editor that enables users to create, format, and organize content using various block types. This skill guides you through implementing the BlockEditor component with Vue 3 Composition API, covering all 14 block types, menus, methods, events, and advanced features.

Component Overview

The Vue BlockEditor component provides:

  • 14 Block Types: Paragraph, Heading (1-4), BulletList, NumberedList, Checklist, Code, Image, Table, Quote, Callout, Divider, Collapsible (Paragraph/Heading), Template
  • 5 Content Types: Text, Link, Mention, Label, InlineCode
  • 4 Interactive Menus: Slash Command (/), Context Menu (right-click), Block Action Menu, Inline Toolbar
  • Drag & Drop: Visual block reordering with handles
  • 20+ Methods: Block CRUD, selection, data export (JSON/HTML), formatting
  • 14 Events: Block changes, drag/drop, paste, file upload, focus/blur
  • Advanced Features: Syntax highlighting, image upload, table editing, undo/redo, keyboard shortcuts
  • Theme Customization: Override --color-sf-* CSS variables, target CSS classes/IDs, or use Syncfusion Theme Studio for fully customized themes

Documentation and Navigation Guide

Getting Started & Installation

📄 Read: references/getting-started.md

  • Vue 3 + Vite project setup
  • Node.js 18+ prerequisites
  • Package installation (@syncfusion/ej2-vue-blockeditor)
  • CSS theme imports with Tailwind 3
  • Component registration and basic initialization
  • Running the application

Block Types & Structure

📄 Read: references/block-types.md

  • All 14 block types with examples
  • BlockModel structure (id, blockType, content, properties)
  • Block properties configuration
  • Custom templates
  • Indent and CSS class customization
  • Block type selection guide

Inline Content & Formatting

📄 Read: references/inline-content.md

  • ContentModel structure
  • 5 content types (Text, Link, Mention, Label, InlineCode)
  • Inline styles (bold, italic, underline, strikethrough, color, background)
  • Link properties and URL configuration
  • User mentions with users array
  • Label/tag configuration with trigger characters
  • Inline formatting examples

Typography Blocks

📄 Read: references/typography-blocks.md

  • Paragraph blocks with placeholders
  • Heading blocks (levels 1-4)
  • Heading level selection
  • Divider blocks for section separation
  • Placeholder customization
  • Typography examples

List Blocks

📄 Read: references/list-blocks.md

  • BulletList (unordered lists)
  • NumberedList (ordered lists)
  • Checklist with isChecked state
  • List placeholder customization
  • Interactive checklist examples

Nested & Collapsible Blocks

📄 Read: references/nested-blocks.md

  • Children property for nested structures
  • Parent-child relationships (parentId)
  • CollapsibleHeading (levels 1-4)
  • CollapsibleParagraph blocks
  • isExpanded state configuration
  • Quote blocks with multi-line support
  • Callout blocks for important information
  • Nested block examples

Special Blocks (Code, Image, Table)

📄 Read: references/special-blocks.md

  • Code blocks with syntax highlighting
  • codeBlockSettings (languages, defaultLanguage)
  • Image blocks with upload and resize
  • imageBlockSettings (saveUrl, path, maxFileSize, allowedTypes)
  • Table blocks with rows, columns, cells
  • Table properties (width, enableHeader, enableRowNumbers)
  • Table resizing and multiple row/column selection
  • File upload configuration

Editor Menus & Toolbars

📄 Read: references/editor-menus.md

  • Slash Command Menu (/ trigger) - commandMenuSettings
  • Context Menu (right-click) - contextMenuSettings
  • Block Action Menu (hover drag handle) - blockActionMenuSettings
  • Inline Toolbar (text selection) - inlineToolbarSettings
  • Transform settings for block type conversion
  • Font color and background color settings
  • Menu customization and events
  • Custom menu items

Methods & Programmatic Control

📄 Read: references/methods-api.md

  • Block management: addBlock(), removeBlock(), updateBlock(), moveBlock()
  • Selection: setSelection(), getSelectedBlocks(), selectBlock(), selectAllBlocks()
  • Cursor: setCursorPosition(), focusIn(), focusOut()
  • Data export: getDataAsJson(), getDataAsHtml(), print()
  • Formatting: executeToolbarAction(), enableToolbarItems(), disableToolbarItems()
  • HTML parsing: parseHtmlToBlocks(), renderBlocksFromJson()
  • Method usage with Composition API patterns

Events & Lifecycle

📄 Read: references/events-lifecycle.md

  • Block change events: blockChanged
  • Drag & drop: blockDragStart, blockDragging, blockDropped
  • Focus events: focus, blur
  • Selection: selectionChanged
  • Paste: beforePasteCleanup, afterPasteCleanup
  • File upload: beforeFileUpload, fileUploading, fileUploadSuccess, fileUploadFailed
  • Created event
  • Event handler patterns with Composition API

Features & Configuration

📄 Read: references/features-configuration.md

  • Drag and drop: enableDragAndDrop
  • Paste cleanup: pasteCleanupSettings (deniedTags, keepFormat, plainText)
  • Undo/redo: undoRedoStack (default: 30)
  • Keyboard shortcuts: keyConfig customization
  • Read-only mode: readOnly
  • Persistence: enablePersistence
  • Custom styling: cssClass
  • Height/width: height, width
  • Theme Customization: Default CSS override, --color-sf-* CSS variables, CSS classes/IDs (.e-blockeditor, .e-active, .e-selected, .e-list-item, .e-dropdownbase, .e-table-element, #blockeditor_contextmenu, #blockeditor_code-ddl_popup), multi-theme switching example (Slate Light, Sage Green, Dark Pro), and Syncfusion Theme Studio

Collaborative Editing

📄 Read: references/collaborative-editing.md

  • Real-time collaborative editing with Yjs CRDT framework
  • 6-step quick start guide with WebSocket server setup
  • Yjs providers (y-websocket, y-webrtc, y-indexeddb, Hocuspocus, Liveblocks, PartyKit)
  • Collaboration configuration file with room allocation logic (URL hash-based)
  • collaborationSettings configuration (adapter, provider, enableAwareness, versionHistory)
  • User presence and remote cursors with enableAwareness
  • User identification with users array and currentUserId
  • Version history with IndexedDB storage, snapshots, restore, compare, export/import
  • Snapshot lifecycle events (snapshotCreated, snapshotRestored)
  • Version history UI panel example with full implementation code

Accessibility & Globalization

📄 Read: references/accessibility-globalization.md

  • WCAG 2.2 and Section 508 compliance
  • WAI-ARIA attributes
  • Keyboard navigation shortcuts
  • Localization: locale property with L10n
  • RTL support: enableRtl
  • Security: enableHtmlSanitizer (XSS prevention), enableHtmlEncode
  • Localization examples (German, Arabic, etc.)

Quick Start Example

Install the theme package that matches your application. This example uses Tailwind 3:

npm install @syncfusion/ej2-tailwind3-theme
<template>
  <div>
    <ejs-blockeditor 
      ref="blockEditor"
      :blocks="blocks"
      :users="users"
      :enableDragAndDrop="true"
      @blockChanged="onBlockChanged"
    />
  </div>
</template>

<script setup>
import { ref } from 'vue';
import { BlockEditorComponent as EjsBlockeditor, ContentType } from '@syncfusion/ej2-vue-blockeditor';

const blockEditor = ref(null);

const blocks = [
  {
    id: 'heading-1',
    blockType: 'Heading',
    properties: { level: 1 },
    content: [
      { contentType: ContentType.Text, content: 'Welcome to BlockEditor' }
    ]
  },
  {
    id: 'intro-para',
    blockType: 'Paragraph',
    content: [
      { contentType: ContentType.Text, content: 'Create content using blocks. Type ' },
      { contentType: ContentType.Text, content: '/', properties: { styles: { bold: true } } },
      { contentType: ContentType.Text, content: ' for commands.' }
    ]
  },
  {
    id: 'checklist-1',
    blockType: 'Checklist',
    properties: { isChecked: false },
    content: [
      { contentType: ContentType.Text, content: 'Complete the tutorial' }
    ]
  }
];

const users = [
  { id: 'user1', user: 'John Doe' },
  { id: 'user2', user: 'Jane Smith' }
];

const onBlockChanged = (args) => {
  console.log('Block changed:', args.changes);
};
</script>

<style>
@import '../node_modules/@syncfusion/ej2-tailwind3-theme/styles/blockeditor/index.css';
</style>

FAQ

What does the syncfusion-vue-blockeditor skill do?

Implement Syncfusion Vue BlockEditor component for block-based content editing with rich text, images, tables, and interactive blocks. Use this skill ALWAYS when user needs block editor, notion-style editor, content blocks, rich text blocks, document editor with blocks, modular content editor, or mentions @syncfusion/ej2-vue-blockeditor, BlockEditor, block-based editing, content management editor, collaborative editing, real-time collaboration. Covers all 14 block types, 5 content types, drag-and-drop, menus, methods, events, real-time collaborative editing with Yjs support, user presence and remote cursors, version history, and Composition API patterns.

How do I install syncfusion-vue-blockeditor?

Run npx skills add https://github.com/syncfusion/vue-ui-components-skills --skill syncfusion-vue-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-vue-blockeditor/ (personal) or .claude/skills/syncfusion-vue-blockeditor/ (project).

Which AI agents can use syncfusion-vue-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-vue-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-vue-blockeditor?

It is published by syncfusion in syncfusion/vue-ui-components-skills. It has 66 recorded installs.

More from syncfusion/vue-ui-components-skills

View all →

syncfusion-vue-grid

syncfusion/vue-ui-components-skills

Implements Syncfusion Vue Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling or infinite scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

syncfusion-vue-scheduler

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-rich-text-editor

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-gantt-chart

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

syncfusion-vue-common

syncfusion/vue-ui-components-skills

Common utilities and features for Syncfusion Vue components. Use this skill when the user needs to implement animations, drag-and-drop, state persistence, RTL support, localization, globalization, security, templates, and advanced features for Syncfusion Vue components.

syncfusion-vue-barcode

syncfusion/vue-ui-components-skills

Open the skill to read its SKILL.md instructions.

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