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.
How it works:
- Select text in the editor first to turn it into a link, or click the button with no selection to insert a new link
- Pick the target article from a searchable list of every other article in the knowledge base
- Customize the display text shown to readers — defaults to the article title when no text is selected
Form Linking
Embed a Form
Use the Link a form button to drop any of your forms straight into an article. When a reader clicks the link, the form opens inside the Yaplet widget instead of navigating away.
How it works:
- Select text first to convert it into a form link, or click the button with no selection to insert new link text
- Choose a form from the searchable list of forms in your organization
- Customize the display text — defaults to the form name when no text is selected
Links are stored using the internal yaplet://form/<id> scheme and are automatically recognized on both the hosted knowledge base pages and inside the chat widget — clicking one launches the form as a classic form flow.
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