Example of drag-n-drop snippets in Tiptap

Last update: Jun 12, 2022

tiptap-snippets-extension

Tiptap 2 Extension for adding snippets.

If you 👍 / ❤️ what I'm doing, consider 🌟 ing the repo, I and the Open-Source-Community appreciate it very much ❤️ .

Live Demo

Try it out live at https://sereneinserenade.github.io/tiptap-snippets-extension, and/or take a look at a demo-video below.

Screen.Recording.2022-06-11.at.23.02.41.mov

How to use

Copy-paste snippet.ts file in your own repo and import SnippetExtension from that file and use that as an extension. For more details see Tiptap.vue or the example implementations below. If you have any question, feel free to open an issue.

Contributing

Show your ❤️ by ⭐️ ing this repository! It means a lot.

Clone the repo, do something, make a PR(or not). You know what's the drill. Looking forward to your PRs, you amazing devs.

Awesome peeps, who've starred this repo 🚀 ! Thank you!

Stargazers repo roster for @sereneinserenade/tiptap-snippets-extension


Project Setup

Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3