docs: update content

This commit is contained in:
Hans Pagel
2021-04-06 23:36:07 +02:00
parent cc21f8bb70
commit 3f3ce1d8d4
17 changed files with 62 additions and 33 deletions

View File

@@ -8,7 +8,7 @@ Using plain JavaScript can feel complex if you are used to work in React. Good n
## Render a React component
Here is what you need to do to render React components inside your editor:
1. [Create a node extension](/guide/build-extensions)
1. [Create a node extension](/guide/custom-extensions)
2. Create a React component
3. Pass that component to the provided `ReactNodeViewRenderer`
4. Register it with `addNodeView()`