Skip to content
This page is available as Markdown at /api/editor/type-aliases/invalidvalueresolution.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

InvalidValueResolution

InvalidValueResolution = object

Defined in: packages/editor/src/types/editor.ts:110

The editor has invalid data in the value that can be resolved by the user

action: string

Defined in: packages/editor/src/types/editor.ts:114


optional autoResolve: boolean

Defined in: packages/editor/src/types/editor.ts:111


description: string

Defined in: packages/editor/src/types/editor.ts:113


i18n: object

Defined in: packages/editor/src/types/editor.ts:124

i18n keys for the description and action

These are in addition to the description and action properties, to decouple the editor from the i18n system, and allow usage without it. The i18n keys take precedence over the description and action properties, if i18n framework is available.

action: `inputs.portable-text.invalid-value.${Lowercase<string>}.action`

description: `inputs.portable-text.invalid-value.${Lowercase<string>}.description`

optional values: Record<string, string | number | string[]>


item: PortableTextBlock[] | PortableTextBlock | PortableTextChild | undefined

Defined in: packages/editor/src/types/editor.ts:115


patches: Patch[]

Defined in: packages/editor/src/types/editor.ts:112