update docs

This commit is contained in:
Philipp Kühn
2021-02-28 23:39:29 +01:00
parent 00e673f700
commit 64b8f5c514
67 changed files with 83 additions and 108 deletions

View File

@@ -31,10 +31,10 @@ Currently, were supporting custom Vue.js components only. To get the required
```bash
# with npm
npm install @tiptap/vue
npm install @tiptap/vue-2
# with Yarn
yarn add @tiptap/vue
yarn add @tiptap/vue-2
```
And yes, we plan to support React, too. Meanwhile, you can roll your own `ReactRenderer`, but dont forget to share it with the community.

View File

@@ -7,7 +7,7 @@ Node views are the best thing since sliced bread, at least if youre a fan of
<!-- ```js
import { Node } from '@tiptap/core'
import { VueNodeViewRenderer } from '@tiptap/vue'
import { VueNodeViewRenderer } from '@tiptap/vue-2'
import Component from './Component.vue'
export default Node.create({
@@ -83,7 +83,7 @@ https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-task-item
```js
import { Node } from '@tiptap/core'
import { VueNodeViewRenderer } from '@tiptap/vue'
import { VueNodeViewRenderer } from '@tiptap/vue-2'
import Component from './Component.vue'
export default Node.create({

View File

@@ -3,7 +3,7 @@
## toc
## Introduction
The `@tiptap/vue` package is not yet ported to Vue 3. Meanwhile, you can find compatible version contributed by [@samwillis](https://github.com/samwillis) and [@areknawo](https://github.com/areknawo) here.
The `@tiptap/vue-2` package is not yet ported to Vue 3. Meanwhile, you can find compatible version contributed by [@samwillis](https://github.com/samwillis) and [@areknawo](https://github.com/areknawo) here.
## EditorContent.ts
https://github.com/ueberdosis/tiptap-next/issues/85#issuecomment-774520164