docs: fix default value for the focus extension, see #137
This commit is contained in:
@@ -19,7 +19,7 @@ yarn add @tiptap/extension-focus
|
|||||||
| Option | Type | Default | Description |
|
| Option | Type | Default | Description |
|
||||||
| --------- | --------- | ------------- | ------------------------------------------------------ |
|
| --------- | --------- | ------------- | ------------------------------------------------------ |
|
||||||
| className | `String` | `'has-focus'` | The class that is applied to the focused element. |
|
| 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
|
## Source code
|
||||||
[packages/extension-focus/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-focus/)
|
[packages/extension-focus/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-focus/)
|
||||||
|
|||||||
Reference in New Issue
Block a user