Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

syncfusion-react-rich-text-editorsyncfusion React rich text editor 搜索

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,996

周安装

84

GitHub Stars

1

下载量

699
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-react-rich-text-editor(syncfusion React rich text editor 搜索)
来源仓库:https://github.com/syncfusion/react-ui-components-skills
仓库路径:skills/syncfusion-react-rich-text-editor
安装命令:
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-rich-text-editor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-rich-text-editor

简介

用于辅助 React 富文本编辑器的开发与维护。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中生成或审查相关组件代码。
  • 通过 GitHub 安装,需结合项目设计系统和构建方式使用。
  • 涉及页面改动时应配合本地预览确认视觉效果。
  • syncfusion-react-rich-text-editor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Syncfusion React Rich Text Editor

A WYSIWYG (What You See Is What You Get) editor for creating and formatting rich content as HTML or Markdown. Supports toolbars, media insertion, AI assistance, smart editing features, form validation, and deep customization.

When to Use This Skill

  • Setting up a rich text / WYSIWYG editor in a React app
  • Configuring toolbar items, types, or positions
  • Switching between HTML and Markdown editor modes
  • Inserting images, video, audio, or files
  • Working with smart editing features: emoji, slash menu, mentions, mail merge
  • Integrating AI assistant into the editor
  • Handling editor value: get, set, two-way binding, auto-save, import/export
  • Applying paste cleanup, form validation, or read-only mode
  • Customizing styles, accessibility, or keyboard shortcuts

Quick Start

npm install @syncfusion/ej2-react-richtexteditor
// src/App.css - add CSS imports
// @import '../node_modules/@syncfusion/ej2-base/styles/tailwind3.css';
// @import '../node_modules/@syncfusion/ej2-buttons/styles/tailwind3.css';
// @import '../node_modules/@syncfusion/ej2-inputs/styles/tailwind3.css';
// @import '../node_modules/@syncfusion/ej2-lists/styles/tailwind3.css';
// @import '../node_modules/@syncfusion/ej2-navigations/styles/tailwind3.css';
// @import '../node_modules/@syncfusion/ej2-popups/styles/tailwind3.css';
// @import '../node_modules/@syncfusion/ej2-splitbuttons/styles/tailwind3.css';
// @import '../node_modules/@syncfusion/ej2-richtexteditor/styles/tailwind3.css';

import {
  HtmlEditor, Image, Inject, Link,
  QuickToolbar, RichTextEditorComponent, Toolbar
} from '@syncfusion/ej2-react-richtexteditor';

function App() {
  return (
    <RichTextEditorComponent height={450}>
      <Inject services={[Toolbar, Image, Link, HtmlEditor, QuickToolbar]} />
    </RichTextEditorComponent>
  );
}
export default App;

Module Injection Reference

Inject only the modules your app needs — this keeps the bundle lean.

ModuleWhat it enables
ToolbarToolbar rendering and commands
HtmlEditorHTML editing mode (default)
MarkdownEditorMarkdown editing mode
LinkHyperlink insert/edit/remove
ImageImage insertion and management
VideoVideo insertion
AudioAudio insertion
TableHTML table insert/edit
QuickToolbarFloating toolbar for images/links
PasteCleanupClean up pasted content formatting
ClipboardCleanupClean clipboard on copy/cut
FileManagerFile browser for server-side images
ResizeResizable editor area
CountCharacter count display
EmojiPickerEmoji search and insert
SlashMenuSlash / command menu
ImportExportImport Word, export Word/PDF
CodeBlockInline code block formatting
AutoFormatAuto-convert Markdown syntax while typing
FormatPainterCopy-paste text formatting
AIAssistantAI assistant integration

Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation, npm setup, CSS imports
  • Basic component implementation
  • Module injection patterns
  • Toolbar configuration basics
  • Running the application

Editor Modes

📄 Read: references/editor-modes.md

  • HTML editor mode (default WYSIWYG)
  • Markdown editor mode with preview
  • IFrame vs DIV mode
  • Inline editing
  • Resizable editor

Toolbar Configuration

📄 Read: references/toolbar-configuration.md

  • Default toolbar items
  • Toolbar types: Expand, MultiRow, Scrollable
  • Toolbar position (top/bottom)
  • Sticky/floating toolbar
  • Quick toolbar for images and links

Toolbar Tools

📄 Read: references/toolbar-tools.md

  • Built-in tools reference (Bold, Italic, Formats, etc.)
  • Custom toolbar items with templates
  • Text formatting tools
  • Styling tools (font, color, alignment)
  • Fullscreen tool

Inserting Media

📄 Read: references/insert-media.md

  • Inserting images (URL, upload, base64)
  • Video insertion and configuration
  • Audio insertion
  • File browser integration

Inserting Content

📄 Read: references/insert-content.md

  • Tables: insert, resize, merge cells
  • Hyperlinks: create, edit, open in new tab
  • Code blocks
  • Custom format blocks

Smart Editing Features

📄 Read: references/smart-editing.md

  • Emoji picker
  • Slash menu (type / to open)
  • Mentions (tag users)
  • Mail merge

Managing Editor Value

📄 Read: references/editor-value.md

  • Setting initial value
  • Getting value via property, event, or method
  • Two-way binding with React state
  • Auto-save with saveInterval
  • Import/export Word and PDF
  • Markdown preview
  • Character count and maxLength
  • Source code view

Paste & Clipboard

📄 Read: references/paste-clipboard.md

  • Paste cleanup configuration
  • Clipboard cleanup on copy/cut
  • Executing editor commands programmatically

Validation & Security

📄 Read: references/validation-security.md

  • Form support and submission
  • XHTML validation
  • Read-only mode
  • XSS prevention

AI Assistant

📄 Read: references/ai-assistant.md

  • AI integration setup
  • AI assistant properties
  • Customizing AI toolbar and responses

Accessibility & Globalization

📄 Read: references/accessibility.md

  • WCAG 2.1 compliance
  • Keyboard shortcuts
  • Globalization, localization, RTL
  • Style encapsulation

Styling & Customization

📄 Read: references/styling-customization.md

  • CSS variable customization
  • Style encapsulation (shadow DOM)
  • Third-party integrations (CodeMirror, Mention library)
  • Spell/grammar check

Undo / Redo

📄 Read: references/undo-redo.md

  • Undo/redo manager behavior
  • Keyboard shortcuts
  • Programmatic undo/redo

Enter Key & Selection

📄 Read: references/enter-key-selection.md

  • Enter key configuration (P, BR, DIV)
  • Selection API
  • Cursor positioning

Events

📄 Read: references/events.md

  • Infer EventArgs Type value for each events
  • Lifecycle events: created, destroyed, focus, blur
  • Content change: change event with ChangeEventArgs
  • Action events: actionBegin (cancelable), actionComplete
  • Toolbar events: toolbarClick, updatedToolbarStatus
  • Dialog & popup events: beforeDialogOpen/Close, beforePopupOpen/Close
  • Media & file events: image/audio/video upload, select, remove, drop
  • Paste & clipboard events: beforePasteCleanup, afterPasteCleanup
  • AI Assistant events: aiAssistantPromptRequest, aiAssistantToolbarClick
  • Resize, slash menu, selection, quick toolbar, import/export events

Methods

📄 Read: references/methods.md

  • Focus & content: focusIn, focusOut, getHtml, getText, getSelectedHtml
  • Toolbar: enableToolbarItem, disableToolbarItem, removeToolbarItem
  • Dialog: showDialog, closeDialog with DialogType enum
  • Selection: selectAll, getRange, selectRange
  • Undo/redo: clearUndoRedo
  • AI Assistant: executeAIPrompt, addAIPromptResponse, getAIPromptHistory, clearAIPromptHistory
  • Utility: executeCommand (all CommandName values), sanitizeHtml, destroy

Properties Reference

📄 Read: references/properties.md

  • Core: height, width, enabled, readonly, placeholder, cssClass
  • Toolbar: toolbarSettings, quickToolbarSettings, floatingToolbarOffset
  • Editor mode & behavior: editorMode, iframeSettings, inlineMode, enterKey
  • Value & content: value, maxLength, showCharCount, saveInterval, enableHtmlSanitizer
  • Media: insertImageSettings, insertVideoSettings, insertAudioSettings, fileManagerSettings
  • Font, color & format: fontFamily, fontSize, fontColor, backgroundColor, format, codeBlockSettings
  • Paste: pasteCleanupSettings, enableClipboardCleanup
  • AI Assistant: aiAssistantSettings (full configuration reference)
  • Import/export: importWord, exportWord, exportPdf
  • Misc: undoRedoSteps, keyConfig, slashMenuSettings, emojiPickerSettings

How-To Guides

📄 Read: references/how-to.md

  • Capture Ctrl keys to update value
  • Change default font family
  • Check uploaded image size
  • Customize placeholder style
  • Customize shortcut keys
  • File attachment
  • Format code blocks
  • Position cursor at end of content
  • Rename images on server
  • RTE inside Dialog or Tab
  • Set cursor at specific range
  • Tailwind preflight fix
  • Update value programmatically

Common Patterns

Read value on change

import { ChangeEventArgs } from '@syncfusion/ej2-react-richtexteditor';

function App() {
  const onChange = (args: ChangeEventArgs) => {
    console.log(args.value); // HTML string
  };
  return (
    <RichTextEditorComponent change={onChange}>
      <Inject services={[Toolbar, HtmlEditor]} />
    </RichTextEditorComponent>
  );
}

Controlled value with React state

const [content, setContent] = useState('<p>Hello</p>');
<RichTextEditorComponent value={content} change={(e) => setContent(e.value)}>
  <Inject services={[Toolbar, HtmlEditor]} />
</RichTextEditorComponent>

Markdown mode

import { MarkdownEditor } from '@syncfusion/ej2-react-richtexteditor';
<RichTextEditorComponent editorMode="Markdown">
  <Inject services={[Toolbar, MarkdownEditor]} />
</RichTextEditorComponent>

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.36%
按下载量换算240

Claude

32.16%
按下载量换算225

Cursor

19.63%
按下载量换算137

Gemini CLI

8.8%
按下载量换算62

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills