tiptap-svelte-adapter Svelte Themes

Tiptap Svelte Adapter

tiptap-svelte

Svelte 5 adapter for Tiptap v2

Installation

pnpm add tiptap-svelte

Usage

<script lang="ts">
  import Editor, { BubbleMenu } from 'tiptap-svelte'
  import StarterKit from '@tiptap/starter-kit'
</script>

<Editor
  options={{
    extensions: [StarterKit],
    content: `Hello world!`,
  }}
>
  <BubbleMenu>Bubble Menu</BubbleMenu>
</Editor>

Top categories

Loading Svelte Themes