docs: fix default value for the focus extension, see #137

This commit is contained in:
Hans Pagel 2021-02-05 11:26:12 +01:00
parent e54dd76cd9
commit 71cca24c32

View File

@ -19,7 +19,7 @@ yarn add @tiptap/extension-focus
| Option | Type | Default | Description |
| --------- | --------- | ------------- | ------------------------------------------------------ |
| className | `String` | `'has-focus'` | The class that is applied to the focused element. |
| nested | `Boolean` | `true` | When enabled nested elements get the focus class, too. |
| nested | `Boolean` | `false` | When enabled nested elements get the focus class, too. |
## Source code
[packages/extension-focus/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-focus/)