syncfusion-angular-rich-text-editor
Implements the Syncfusion Angular Rich Text Editor (ejs-richtexteditor) from @syncfusion/ej2-angular-richtexteditor using RichTextEditorModule, HtmlEditorService, and MarkdownEditorService.Use this skill for toolbar configuration, image/video/audio insertion, paste cleanup, AI assistant integration, emoji picker, slash menu, mentions, import/export Word/PDF, form validation, and source code view in Angular applications.
What this skill does
# Implementing Syncfusion Angular Rich Text Editor
The Syncfusion Angular Rich Text Editor is a full-featured WYSIWYG editor that enables users to create, edit, and format rich text content. It supports HTML and Markdown editing modes, multimedia insertion, AI assistance, smart editing features, and deep customization.
## When to Use This Skill
Use this skill when you need to:
- **Content Editing UI**: Add a rich text / WYSIWYG editor to an Angular application
- **HTML or Markdown Output**: Capture formatted content as HTML or Markdown
- **Media-Rich Editors**: Allow image, audio, video, and file insertion
- **AI-Assisted Writing**: Integrate AI content generation into the editor
- **Smart Editing Features**: Add mentions, emoji picker, slash commands, or mail merge
- **Custom Toolbar**: Configure, extend, or restrict toolbar items and tools
- **Form Integration**: Use RTE with Angular Reactive or Template-driven forms
- **Document Import/Export**: Import from Word or export to PDF/Word
## Component Overview
The `<ejs-richtexteditor>` component from `@syncfusion/ej2-angular-richtexteditor` provides:
- HTML and Markdown editing modes
- Configurable toolbar (expand, multirow, scrollable, popup)
- Image, video, audio, and file insertion with upload support
- Inline, IFrame, and resizable editor variants
- Smart editing: Mentions, Emoji Picker, Slash Menu, Mail Merge
- AI assistant integration
- Import/Export (Word, PDF)
- Full accessibility (WCAG 2.1), keyboard navigation, RTL support
- Multiple themes: Tailwind 3, Material 3, Bootstrap 5, Fluent 2
## Quick Start
```typescript
import { Component } from '@angular/core';
import { RichTextEditorModule } from '@syncfusion/ej2-angular-richtexteditor';
import {
ToolbarService, LinkService, ImageService,
HtmlEditorService, QuickToolbarService
} from '@syncfusion/ej2-angular-richtexteditor';
@Component({
imports: [RichTextEditorModule],
standalone: true,
selector: 'app-root',
template: `<ejs-richtexteditor [(value)]="content"></ejs-richtexteditor>`,
providers: [ToolbarService, LinkService, ImageService, HtmlEditorService, QuickToolbarService]
})
export class AppComponent {
public content: string = '<p>Start editing here...</p>';
}
```
**CSS (styles.css):**
```css
@import '../node_modules/@syncfusion/ej2-base/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-buttons/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-inputs/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-lists/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-navigations/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-popups/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-splitbuttons/styles/material3.css';
@import '../node_modules/@syncfusion/ej2-richtexteditor/styles/material3.css';
```
## Documentation and Navigation Guide
### Getting Started
๐ **Read:** [references/getting-started.md](references/getting-started.md)
**When to read:** First-time setup, installation, basic implementation, module injection
**Topics covered:**
- Installing `@syncfusion/ej2-angular-richtexteditor`
- Module imports: `RichTextEditorModule` vs `RichTextEditorAllModule`
- Service injection: all available services and what they unlock
- CSS theme imports (Material3, Tailwind3, Bootstrap5, Fluent2)
- Standalone component vs NgModule setup
- Basic `<ejs-richtexteditor>` with value binding
---
### Editor Types
๐ **Read:** [references/editor-types.md](references/editor-types.md)
**When to read:** Choosing the right editor rendering mode
**Topics covered:**
- Default (DIV-based) editor โ standard use case
- IFrame editor โ isolated styling, CSS encapsulation
- Inline editing โ edit content directly in-page
- Resizable editor โ user-resizable editor area
- Switching between HTML mode and Markdown mode
- When to choose each type
---
### Toolbar Configuration
๐ **Read:** [references/toolbar.md](references/toolbar.md)
**When to read:** Customizing toolbar layout, position, or items
**Topics covered:**
- Toolbar types: Expand, MultiRow, Scrollable, Popup (floating)
- Toolbar position: top or bottom
- Quick toolbar (image, link, table context toolbars)
- Configuring `toolbarSettings.items` array
- Disabling or enabling toolbar items dynamically
- Toolbar with separators (`|`) and line breaks
---
### Built-in and Custom Tools
๐ **Read:** [references/tools.md](references/tools.md)
**When to read:** Working with text formatting, custom toolbar items, or fullscreen
**Topics covered:**
- Built-in tools overview (all available tool names)
- Text formatting tools: Bold, Italic, FontName, FontSize, Color, Alignment
- Styling tools: Lists, Indent, Formats
- Fullscreen tool
- Creating custom toolbar tools with commands
- Styling custom tool buttons
---
### Inserting Images, Video, Audio & Files
๐ **Read:** [references/insert-image-media.md](references/insert-image-media.md)
**When to read:** Handling media insertion, uploads, or the file browser
**Topics covered:**
- Image insertion (URL, file upload, base64)
- Server-side upload handler configuration
- Image resize, alignment, and alt text
- Video insertion and embedding
- Audio insertion
- File browser integration (`FileManagerService`)
- Renaming images on server after upload
- Checking image size before insert
---
### Tables and Links
๐ **Read:** [references/table-and-links.md](references/table-and-links.md)
**When to read:** Working with tables or hyperlinks inside the editor
**Topics covered:**
- Inserting and configuring tables
- Table resize, merge, split cells, add/remove rows and columns
- Table styles and borders
- Link insertion and editing
- `insertLink` dialog configuration
- Opening links in new tab, link validation
---
### Editor Value, Selection & Commands
๐ **Read:** [references/editor-value-and-selection.md](references/editor-value-and-selection.md)
**When to read:** Programmatically reading/writing content or controlling the editor
**Topics covered:**
- Getting and setting the HTML value
- Getting and setting Markdown value
- `executeCommand` API (bold, italic, insertHTML, etc.)
- Selection range APIs: `getRange`, `setRange`
- Positioning cursor at specific location
- Capturing keyboard shortcuts to update value
- Undo/redo programmatic control
---
### Properties
๐ **Read:** [references/properties.md](references/properties.md)
**When to read:** Configuring editor behavior, appearance, or feature settings
**Topics covered:**
- AI Assistant configuration (`aiAssistantSettings`)
- Auto-save settings (`autoSaveOnIdle`)
- Color palette configuration (`backgroundColor`, `fontColor`)
- Code block and format lists
- Editor mode settings (`editorMode`, `enterKey`)
- Emoji picker configuration
- Feature flags (enableAutoUrl, enableResize, enableXhtml, etc.)
- Import/Export settings (PDF, Word)
- IFrame and inline mode configuration
- Media insertion settings (image, audio, video)
- Styling properties (cssClass, height, htmlAttributes)
- Toolbar and format configuration
- File manager integration
---
### Methods
๐ **Read:** [references/methods.md](references/methods.md)
**When to read:** Calling programmatic APIs to control the editor
**Topics covered:**
- AI Assistant methods (`addAIPromptResponse`, `clearAIPromptHistory`, `executeAIPrompt`, `getAIPromptHistory`)
- Content retrieval methods (`getHtml`, `getText`, `getXhtml`, `getContent`, `getCharCount`)
- Content manipulation (`executeCommand`, `clearUndoRedo`, `sanitizeHtml`)
- Dialog management (`showDialog`, `closeDialog`)
- Focus management (`focusIn`, `focusOut`)
- Selection methods (`getRange`, `selectRange`, `selectAll`, `getSelection`, `getSelectedHtml`)
- Toolbar management (`enableToolbarItem`, `disableToolbarItem`, `removeToolbarItem`)
- Popup and UI control (`showEmojiPicker`, `showFullScreen`, `showSourceCode`, `showInlineToolbar`, `hideInlineToolbar`, `refreshUI`)
- Component lifecycle (`destroy`)
---
###Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.