fix(richtext-lexical): inline blocks did not store nested fields correctly (#10578)

Fixes https://github.com/payloadcms/payload/issues/10555

Form state with nested fields was not unflattened before saving field
data to the node
This commit is contained in:
Alessio Gravili
2025-01-14 14:17:25 -07:00
committed by GitHub
parent 05b03b2dcd
commit 61117ee5cb
29 changed files with 461 additions and 505 deletions

View File

@@ -3374,6 +3374,21 @@ export interface LexicalBlocksRadioButtonsBlock {
blockName?: string | null;
blockType: 'radioButtons';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "AvatarGroupBlock".
*/
export interface AvatarGroupBlock {
avatars?:
| {
image?: (string | null) | Upload;
id?: string | null;
}[]
| null;
id?: string | null;
blockName?: string | null;
blockType: 'AvatarGroup';
}
/**
* This interface was referenced by `Config`'s JSON-Schema
* via the `definition` "auth".