Skip to content

Commit

Permalink
VueRenderer documentation with version 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Tazi0 authored and hanspagel committed Jun 22, 2021
1 parent b6e276f commit 6faf2fe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/src/docPages/api/nodes/mention.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@ npm install @tiptap/vue-2
# with Yarn
yarn add @tiptap/vue-2
```
If you are using `vue-3` then the `VueRenderer` requires different input:
```js
new VueRenderer(MentionList, {
props: props,
editor: this.editor,
})
```
and not
```js
new VueRenderer(MentionList, {
parent: this,
propsData: props,
})
```


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.

Expand Down

0 comments on commit 6faf2fe

Please sign in to comment.