Tiptap is a Rich Text Editor Framework for Vue.js

Tiptap is a Rich Text Editor Framework for Vue.js

Tiptap by Philipp Kühn (@philippkuehn) is a renderless and extendable rich-text editor for Vue.js. Where React has slate.js, Tiptap aims to be that style of a framework for Vue.js. The Tiptap readme explains the idea behind the project as follows:

I was looking for a text editor for Vue.js and found some solutions that didn’t satisfy me. The editor should be easy to extend and not based on old dependencies such as jQuery. For React there is already a great editor called Slate.js, which impresses with its modularity. I came across Prosemirror and decided to build on it. Prosemirror is a toolkit for building rich-text editors that are already in use at many well-known companies such as Atlassian or New York Times.

Tiptap is built on top of ProseMirror, which describes itself as “a toolkit for building rich-text editors on the web.”

Under the hood, you can store your data “as raw HTML, or as a JSON-serializable representation of your document.”

Here’s an example of the JSON-serializable output from the component:

  "type": "doc",
  "content": [
      "type": "heading",
      "attrs": {
        "level": 2
      "content": [
          "type": "text",
          "text": "Export HTML or JSON"
      "type": "paragraph",
      "content": [
          "type": "text",
          "text": "Hello from Tiptap."

Here’s the most basic example of using Tiptap in your Vue project:

    <!-- Add HTML to the scoped slot called `content` -->
    <div slot="content" slot-scope="props">
      <p>Hi, I'm just a boring paragraph</p>

// Import the editor
import { Editor } from 'tiptap'

export default {
  components: {

To learn more about the editor’s capabilities, check out the live demos available at tiptap.scrumpy.io. The live demo has many examples of ways you can extend the base Tiptap editor component, such as text alignment, suggestions, todo lists, images, links, and a menu bubble after you select some text:

To learn more about Tiptap, check out the GitHub project for details on the editor component props, scoped slots available, and extensions.

Filed in: News / Vue.js


Join the weekly newsletter and never miss out on new tips, tutorials, and more.

Laravel News Partners

Laravel Jobs

Senior Backend Engineer
64 Robots
Senior Laravel Developer
Atlanta, GA
Helium LLC
Full-Stack Developer (JS - Vue.js, PHP - Laravel)
US Remote / Telecommute
TTEC Digital
Backend Engineer
Brooklyn, NY
Back-End Developer
Orlando, FL
Christ for all Nations
Senior Software Developer
Nashville, TN
Bernard Health
Full Stack PHP Developer – (Laravel & Vue.js) - local only
Salt Lake City, Utah