InvalidValueResolution
InvalidValueResolution =
object
Defined in: packages/editor/src/types/editor.ts:123
The editor has invalid data in the value that can be resolved by the user
Properties
Section titled “Properties”action
Section titled “action”action:
string
Defined in: packages/editor/src/types/editor.ts:127
autoResolve?
Section titled “autoResolve?”
optionalautoResolve:boolean
Defined in: packages/editor/src/types/editor.ts:124
description
Section titled “description”description:
string
Defined in: packages/editor/src/types/editor.ts:126
i18n:
object
Defined in: packages/editor/src/types/editor.ts:137
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
Section titled “action”action:
`inputs.portable-text.invalid-value.${Lowercase<string>}.action`
description
Section titled “description”description:
`inputs.portable-text.invalid-value.${Lowercase<string>}.description`
values?
Section titled “values?”
optionalvalues:Record<string,string|number|string[]>
item:
PortableTextBlock[] |PortableTextBlock|PortableTextChild|undefined
Defined in: packages/editor/src/types/editor.ts:128
patches
Section titled “patches”patches:
Patch[]
Defined in: packages/editor/src/types/editor.ts:125