docs: add missing includeChildren option

This commit is contained in:
Philipp Kühn 2021-11-12 09:20:50 +01:00
parent 926dfda7bc
commit 4a135b2290

View File

@ -85,6 +85,17 @@ Placeholder.configure({
})
```
### includeChildren
Show decorations also for nested nodes.
Default: `false`
```js
Placeholder.configure({
includeChildren: true
})
```
## Source code
[packages/extension-placeholder/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-placeholder/)