Overview
The Steps plugin allows you to create numbered, step-by-step instructions. It’s perfect for tutorials, guides, and any content that requires a sequential flow.Installation
Basic Usage
Pass the plugin tocreateYooptaEditor; do not pass plugins to <YooptaEditor>.
Features
- Automatic Numbering: Steps are numbered automatically
- Nested Content: Each step has a heading and content area
- Keyboard Shortcuts: Type
stepsto insert - Easy Navigation: Add and remove steps easily
- Customizable: Full control over styling
Structure
The Steps plugin consists of nested elements:Configuration
Options
object
string[]
default:"['steps']"
Keyboard shortcuts to trigger the plugin
Commands
buildStepsElements
Creates the initial steps structure.number
default:"2"
Number of steps to create initially
addStep
Add a new step after the current one.deleteStep
Remove a specific step.Keyboard Behavior
- Enter on Heading: Creates a new step
- Enter in Content: Inserts newline within content
- Backspace on Heading: Deletes the step (when empty)
- Backspace in Content: Prevents deletion at content start
Initial Structure
When created, the plugin initializes with 2 steps:Custom Rendering
With Custom Numbering
Styling Examples
Basic CSS
With Progress Line
Use Cases
Tutorials
Step-by-step coding or software tutorials
Recipes
Cooking instructions with numbered steps
Installation Guides
Software installation procedures
DIY Instructions
Assembly or craft project steps
Best Practices
Clear Headings
Clear Headings
Use concise, action-oriented headings (e.g., “Install dependencies”)
Detailed Content
Detailed Content
Provide sufficient detail in content area for each step
Logical Flow
Logical Flow
Ensure steps follow a logical, sequential order
Add Context
Add Context
Include expected outcomes or tips within steps
Use Code Blocks
Use Code Blocks
Combine with Code plugin for technical steps
Advanced Patterns
With Conditional Steps
With Completion Tracking
Related Plugins
- Accordion Plugin - For collapsible sections
- Tabs Plugin - For tabbed content
- Code Plugin - For code examples in steps

