update docs
This commit is contained in:
@@ -31,10 +31,10 @@ Currently, we’re 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 don’t forget to share it with the community.
|
||||
|
||||
@@ -7,7 +7,7 @@ Node views are the best thing since sliced bread, at least if you’re 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({
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user