Correct default for dropcursor color in docs

This commit is contained in:
shadow-light
2021-06-16 22:01:51 +10:00
committed by Hans Pagel
parent 108c081001
commit f130f004fb

View File

@@ -16,11 +16,11 @@ yarn add @tiptap/extension-dropcursor
``` ```
## Settings ## Settings
| Option | Type | Default | Description | | Option | Type | Default | Description |
| ------ | -------- | --------- | --------------------------------------------------------------------- | | ------ | -------- | ---------------- | --------------------------------------------------------------------- |
| color | `String` | `'black'` | Color of the dropcursor. | | color | `String` | `'currentcolor'` | Color of the dropcursor. |
| width | `Number` | `1` | Width of the dropcursor. | | width | `Number` | `1` | Width of the dropcursor. |
| class | `String` | | One or multiple CSS classes that should be applied to the dropcursor. | | class | `String` | | One or multiple CSS classes that should be applied to the dropcursor. |
## Source code ## Source code
[packages/extension-dropcursor/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-dropcursor/) [packages/extension-dropcursor/](https://github.com/ueberdosis/tiptap/blob/main/packages/extension-dropcursor/)