docs: fix typos

This commit is contained in:
Hans Pagel
2021-10-14 10:46:09 +02:00
parent e37639ac6d
commit 4183499ff9
3 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ Got it? Lets see it in action. Feel free to copy the below example to get sta
That node view even interacts with the editor. Time to see how that is wired up.
## Access node attributes
The editor passes a few helpful things to your render function. One of them is the the `node` prop. This one enables you to access node attributes in your node view. Lets say you have [added an attribute](/guide/custom-extensions#attributes) named `count` to your node extension. You could access the attribute like this:
The editor passes a few helpful things to your render function. One of them is the `node` prop. This one enables you to access node attributes in your node view. Lets say you have [added an attribute](/guide/custom-extensions#attributes) named `count` to your node extension. You could access the attribute like this:
```js
addNodeView() {