fix(richtext-slate): add 'li' string literal to RichTextElement type (#12693)

Fixes #12160
This commit is contained in:
Germán Jabloñski
2025-06-05 11:27:37 -03:00
committed by GitHub
parent 6f82154ce4
commit e10e445a64
2 changed files with 2 additions and 0 deletions

View File

@@ -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)

View File

@@ -41,6 +41,7 @@ export type RichTextElement =
| 'h5' | 'h5'
| 'h6' | 'h6'
| 'indent' | 'indent'
| 'li'
| 'link' | 'link'
| 'ol' | 'ol'
| 'relationship' | 'relationship'