Merge pull request #14 from ueberdosis/feature/flatten-history-options
flatten history plugin options
This commit is contained in:
@@ -11,9 +11,10 @@ yarn add @tiptap/extension-history
|
||||
```
|
||||
|
||||
## Settings
|
||||
| Option | Type | Default | Description |
|
||||
| -------------------- | ------ | ------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| historyPluginOptions | Object | {} | Supports the following configuration options:<br /><br />**depth:** The amount of history events that are collected before the oldest events are discarded. Defaults to 100.<br /><br />**newGroupDelay:** The delay between changes after which a new group should be started. Defaults to 500 (milliseconds). Note that when changes aren't adjacent, a new group is always started. |
|
||||
| Option | Type | Default | Description |
|
||||
| ------------- | ------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| depth | number | 100 | The amount of history events that are collected before the oldest events are discarded. Defaults to 100. |
|
||||
| newGroupDelay | number | 500 | The delay between changes after which a new group should be started (in milliseconds). When changes aren’t adjacent, a new group is always started. |
|
||||
|
||||
## Commands
|
||||
| Command | Options | Description |
|
||||
|
||||
Reference in New Issue
Block a user