Plugins Overview
Yoopta Editor uses a plugin architecture to extend functionality. Each plugin provides a specific block type that can be added to your editor.Available Plugins
Content Plugins
Paragraph
Basic text content - the foundation of your content
Headings
H1, H2, and H3 heading levels for document structure
Blockquote
Highlighted quotes and citations
Callout
Themed callout boxes (info, warning, error, success)
List Plugins
Lists
Bulleted lists, numbered lists, and todo lists
Code Plugins
Code
Syntax-highlighted code blocks with 100+ languages
Media Plugins
Image
Image uploads with resizing and alignment
Video
Video embeds from YouTube, Vimeo, Loom, and more
Embed
Embed content from various platforms
Installation
All plugins are published as separate npm packages:Basic Usage
Import and register plugins with your editor:Plugin Structure
Each plugin provides:- Type: Unique identifier (e.g.,
"Paragraph","HeadingOne") - Elements: Rendering components for the block
- Options: Display settings and keyboard shortcuts
- Commands: Programmatic API for manipulating blocks
- Parsers: HTML, Markdown, and Email serialization
- Events: Optional keyboard and interaction handlers
Shortcuts
Most plugins support keyboard shortcuts for quick insertion:portext→ Paragraphh1or#→ Heading 1h2or##→ Heading 2h3or###→ Heading 3-→ Bulleted list1.→ Numbered list[]→ Todo list>→ Blockquote<→ Callout```→ Code block
/ to open the slash command menu and search for any plugin.
Next Steps
Plugin API
Learn how to configure plugins
Custom Plugins
Build your own custom plugins