docs: update content

This commit is contained in:
Hans Pagel
2021-04-03 16:49:53 +02:00
parent e5866a08cf
commit 3c963c302b
4 changed files with 112 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ Got it? Lets see it in action. Feel free to copy the below example to get sta
That component doesnt interact with the editor, though. Time to wire it up.
## Access node attributes
The `VueNodeViewRenderer` which you use in your node extension, passes a few very helpful props to your custom view component. One of them is the `node` prop. Add this snippet to your Vue component to directly access the node:
The `VueNodeViewRenderer` which you use in your node extension, passes a few very helpful props to your custom Vue component. One of them is the `node` prop. Add this snippet to your Vue component to directly access the node:
```js
props: {