Get Pro Access

Editor

A rich text editor built with Tiptap with support for links and images

Installation

Usage

import { Editor, EditorToolbar, EditorContent } from '@/components/ui/editor'

<Editor id='my-editor' placeholder='Start writing...'>
  <EditorToolbar />
  <EditorContent />
</Editor>

Interactivity

This component is SSR-first and works without client JavaScript. Add @kiwa-ui/enhance for interactive behavior like toggling, keyboard navigation, and ARIA state management.

Add to your layout

<script type="module">
  import { editor } from '@kiwa-ui/enhance'
  editor()
</script>