docs: wording

This commit is contained in:
Hans Pagel 2021-02-05 18:14:18 +01:00
parent 1c468b4542
commit 3c7b9f53c7

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. |
| mode | `String` | `'all'` | Apply the class to `'all'`, the `'shallowest'` or the `'deepest'` node only. |
| mode | `String` | `'all'` | Apply the class to `'all'`, the `'shallowest'` or the `'deepest'` node. |
## Source code
[packages/extension-focus/](https://github.com/ueberdosis/tiptap-next/blob/main/packages/extension-focus/)