tiptap-svelte-adapter
v0.0.3
Published
> Svelte 5 adapter for Tiptap v2
Downloads
9
Readme
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>