fix copying mentions as plain text

This commit is contained in:
Philipp Kühn
2021-01-19 20:27:51 +01:00
parent 80ec657053
commit 563f37d74b
11 changed files with 116 additions and 15 deletions

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 { VueRenderer } from '@tiptap/vue'
import { VueNodeViewRenderer } from '@tiptap/vue'
import Component from './Component.vue'
export default Node.create({
@@ -83,12 +83,12 @@ https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-task-item
```js
import { Node } from '@tiptap/core'
import { VueRenderer } from '@tiptap/vue'
import { VueNodeViewRenderer } from '@tiptap/vue'
import Component from './Component.vue'
export default Node.create({
addNodeView() {
return VueRenderer(Component)
return VueNodeViewRenderer(Component)
},
})
```