fix(richtext-slate): add 'li' string literal to RichTextElement type (#12693)
Fixes #12160
This commit is contained in:
@@ -81,6 +81,7 @@ The default `elements` available in Payload are:
|
|||||||
- `link`
|
- `link`
|
||||||
- `ol`
|
- `ol`
|
||||||
- `ul`
|
- `ul`
|
||||||
|
- `li`
|
||||||
- `textAlign`
|
- `textAlign`
|
||||||
- `indent`
|
- `indent`
|
||||||
- [`relationship`](#relationship-element)
|
- [`relationship`](#relationship-element)
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ export type RichTextElement =
|
|||||||
| 'h5'
|
| 'h5'
|
||||||
| 'h6'
|
| 'h6'
|
||||||
| 'indent'
|
| 'indent'
|
||||||
|
| 'li'
|
||||||
| 'link'
|
| 'link'
|
||||||
| 'ol'
|
| 'ol'
|
||||||
| 'relationship'
|
| 'relationship'
|
||||||
|
|||||||
Reference in New Issue
Block a user