Overview
The Tabs plugin creates tabbed content panels with theme support. Perfect for organizing related content that users can switch between.Installation
Basic Usage
Features
- Multiple Tabs: Create multiple tab panels within a single block
- Theme Support: Built-in themes (default, success, warning, error, info)
- Keyboard Navigation: Navigate tabs with keyboard
- Shortcuts: Type
tabsto insert
Configuration
Options
Keyboard shortcuts to trigger the plugin in slash menu
Element Props
Commands
Tabs commands are available viaTabsCommands.
insertTabs
Insert a new Tabs block.Theme for the tabs
Index where to insert the block
Whether to focus the new block after insert
deleteTabs
Delete a tabs block.buildTabsElements
Build tabs element structure (used internally).Block Operations
You can also use the generic Blocks API:Element Operations
Use the Elements API to update tab properties:Themes
The Tabs plugin supports the following themes:- default: Default styling
- success: Green theme for positive/success content
- warning: Yellow/orange theme for warnings
- error: Red theme for errors or important notes
- info: Blue theme for informational content
Parsers
HTML
- Deserialize: Custom HTML structure with tabs
- Serialize: Tabs block →
<div>with tab structure and theme data attributes
- Serialize: Table-based layout for email client compatibility