Skip to content

Examples & Live Demos ​

Switch between the Live Preview tab to test interactive editors directly in your browser and the React Code tab to view the complete code snippets.


1. Basic Controlled Component ​

Minimal controlled component using value and onChange with useState.

1. Basic Controlled Component

2. Custom Toolbar & Menubar ​

Minimal custom toolbar preset with top menubar disabled.

2. Custom Toolbar Configuration

3. Readonly & Disabled Modes ​

Dynamically toggle the editor between editable, readonly, and disabled states.

3. Readonly & Disabled Modes

4. Programmatic Control (Ref API) ​

Trigger focus, insert HTML, or clear content programmatically using useRef<EditorInstance>.

4. Programmatic API Control

5. Mentions (@) Autocomplete ​

Type @ in the editor to trigger team member autocomplete.

5. Mentions (@) Autocomplete

6. Merge Tags ({{) & Slide-out Drawer ​

Type {{ or open the Merge Tags sidebar drawer.

6. Merge Tags & Drawer

7. Templates Selection ​

Select structured document templates from the top menu.

7. Templates Selection

8. Image Uploads & Progress ​

Drag & drop or select images with simulated progress reporting.

8. Image Uploads with Progress

9. Enterprise All-in-One Suite ​

Complete production-grade setup with all plugins, mentions, merge tags, templates, and full toolbar.

9. Full Enterprise Suite

Released under the MIT License. Copyright © Er Amit Gupta