HTML Article Editor
A powerful rich text editor built on TipTap that enables creation of structured HTML content with advanced formatting, media insertion, and preview capabilities for articles and documents.
Core Features
Rich Text Formatting
Complete text styling with bold, italic, colors, and typography options
Media & Assets
Image uploads, table insertion, and content embedding tools
Article Tools
Table of contents, cross-linking, and preview functionality
HTML Integration
Direct HTML insertion with automatic sanitization
Toolbar Sections
Text Formatting & History
Structure & Organization
Content Insertion
Table Editing Controls
HTML Insertion Feature
The Insert HTML button provides direct access to paste raw HTML code into your content.
Access HTML Insertion
Click the Insert HTML button in the top-right corner of the editor
Paste Your Code
Enter your HTML code in the modal textarea
Insert Content
Click Insert HTML to add it at the cursor position
Example Usage
<div class="custom-card">
<h3>Custom HTML Content</h3>
<p>This content was inserted as raw HTML.</p>
</div>
Advanced Capabilities
Article Preview
Live Preview
The Preview button shows your article exactly as readers will see it.
Features:
- Full article rendering with proper styling
- Widget theme selection (if multiple themes available)
- Responsive preview layout
- Table of contents display
- Image and media rendering
Cross-Linking System
Article Linking
Link seamlessly between articles using the Cross Link button.
Capabilities:
- Access predefined article URLs
- Quick search through available articles
- Automatic link formatting with proper targets
- Maintains navigation context
Image Management
Automatic Processing:
- Supports WebP, PNG, and JPEG formats
- Images are resized and optimized
Table of Contents Generation
Auto-TOC Features:
- Generates navigation from H1-H6 headings
- Creates nested, clickable navigation
- Updates dynamically as you edit headings
- Consistent styling with article theme
Widget Integration
Content automatically adapts to widget color schemes:
- Dynamic CSS custom properties
- Theme-aware styling
- Consistent visual appearance
- Preview with multiple themes