How marcelinombb/tiptap-exitus works
Main Components Identification
The system should be represented with these key components:
a) Core Editor Layer
• ExitusEditor (main class)
• Plugin System
• UI Components
• Toolbar System
b) Extensions Layer
• Text Formatting Extensions (bold, italic, underline, etc.)
• Advanced Features (tables, math, images)
• Utility Extensions (history, indent, etc.)
c) External Integrations
• Tiptap/ProseMirror Foundation
• MathType Integration
• Image Processing System
┌─ Application Layer ─────────────────────┐
• ExitusEditor (Main Class) │
• Event System (create, update) │
• ┬────────────────────┘
• ↓
┌─ Core Components ─────────────────────┐
• ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• Toolbar │ │ UI │ │ Plugin │ │
• ┘ └─────────┘ └─────────┘ │
• ┬────────────────────┘
• ↓
┌─ Extensions Layer ────────────────────┐
• ┌─────────┐ ┌─────────┐ ┌─────────┐ │
• Text │ │ Advanced│ │ Utility │ │
• Formatting│ │Features │ │Extensions│ │
• ┘ └─────────┘ └─────────┘ │
• ┬────────────────────┘
• ↓
┌─ Foundation Layer ───────────────────┐
• Tiptap/ProseMirror │
• ┘
Component Relationships
• Data flow between components
• Plugin registration paths
• Event propagation
• Extension initialization flow
Detailed Component Breakdown
For each major component, show:
• Internal structure (e.g., Toolbar → Tools → Button)
• Configuration options
• API endpoints
• Event handlers
Implementation Details
Notes for:
• TypeScript integration
• Webpack build process
• CSS/Style management
• Extension loading mechanism
The integration points with external services
Remember to:
• Use consistent symbols throughout
• Version information
• Document configuration options
• How components interact
• Where to add new features
• How to debug issues
• How to extend the editor