function

documentRecoveryIssue

Return the first unsupported envelope path without interpreting schema-owned payloads. Both editor admission and portable rendering use this lossless JSON boundary.

Arguments

ArgumentTypeDescription
valueunknownThe value value.
allowedNodeTypesReadonlySet<string> | undefinedThe allowedNodeTypes value.

Returns

The declared result.

string | undefined

Full signature

function documentRecoveryIssue( value: unknown, allowedNodeTypes?: ReadonlySet<string>, ): string | undefined

Source packages/plugin-richtext/src/render.ts:11