fix: richTextField supports beforeInput/afterInput, but these were missing from types.ts (#12889)

Add `afterInput` and `beforeInput` to `admin.components` of
RichTextField type. These props are supported but missing from types.
This commit is contained in:
ThijsAtFreave
2025-06-27 12:50:04 +02:00
committed by GitHub
parent 0e9865c564
commit e7695502e3

View File

@@ -1268,6 +1268,8 @@ export type RichTextField<
> = {
admin?: {
components?: {
afterInput?: CustomComponent[]
beforeInput?: CustomComponent[]
Error?: CustomComponent
Label?: CustomComponent
} & Admin['components']