The headless rich text editor framework for web artisans.
Go to file
2018-08-23 10:56:52 +02:00
build fix webpack alias 2018-08-23 10:49:39 +02:00
examples replace some h1 with h2 2018-08-23 08:36:10 +02:00
packages remove commands from tiptap package 2018-08-23 10:56:52 +02:00
.eslintrc.js initial commit 2018-08-20 23:02:21 +02:00
.gitignore fix packages 2018-08-23 10:49:01 +02:00
CONTRIBUTING.md Create CONTRIBUTING.md 2018-08-21 10:12:56 +02:00
LICENSE.md Rename LICENSE to LICENSE.md 2018-08-21 10:14:37 +02:00
package.json create packages folder 2018-08-23 09:26:48 +02:00
README.md update readme 2018-08-23 08:33:21 +02:00
yarn.lock update dependencies 2018-08-22 14:22:13 +02:00

tiptap

A rich-text editor for Vue.js

Downloads Version License

Installation

npm install tiptap

Setup

<template>
  <editor>
    <!-- Add HTML to the scoped slot called "content" -->
    <div slot="content" slot-scope="props">
      <p>Hello world</p>
    </div>
  </editor>
</template>

<script>
// Import the editor
import { Editor } from 'tiptap'

export default {
  components: {
    Editor,
  },
}
</script>

Editor Properties

Property Type Default Description
editable Boolean true When set to false the editor is read-only.
doc Object null The editor state object used by Prosemirror. You can also pass HTML to the content slot. When used both, the content slot will be ignored.
extensions Array [] A list of extensions used, by the editor. This can be Nodes, Marks or Plugins.
@update Function undefined This will return the current state of Prosemirror on every change.

Extensions

Soon … Until then you can take a look at the embed example.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.