docs: update content

This commit is contained in:
Philipp Kühn
2021-04-21 11:46:45 +02:00
parent 170b9b8d64
commit 36bf546c2d
6 changed files with 32 additions and 25 deletions

View File

@@ -71,7 +71,7 @@ And yes, all of that is reactive, too. A pretty seemless communication, isnt
## Adding a content editable
There is another component called `NodeViewContent` which helps you adding editable content to your node view. Here is an example:
```js
```jsx
import React from 'react'
import { NodeViewWrapper, NodeViewContent } from '@tiptap/react'