method

FieldAuthoringHost.schemaForm

Render the ordinary fields of an existing embedded item using {@render authoring.schemaForm({ treeKey, identity })}. Edits update the parent document's unsaved form immediately. Use a draft below if the user needs Apply/Cancel. Neither approach saves the document itself.

Arguments

ArgumentTypeDescription
args[EmbeddedSchemaFormScope]The args value.

Returns

The declared result.

{ '{@render ...} must be called with a Snippet': "import type { Snippet } from 'svelte'"; } & unique symbol

Full signature

FieldAuthoringHost.schemaForm( this: void, args_0: EmbeddedSchemaFormScope, ): { "{ @render ... } must be called with a Snippet": "import type { Snippet } from 'svelte'" } & typeof SnippetReturn

Source packages/plugin/src/authoring.ts:161

Related types

  • EmbeddedSchemaFormScope

    Select an existing group of ordinary fields inside a plugin value, such as the fields of one rich-text card. Go must declare the embedded tree and its schemas. Ridu locates the data by its stable identity, even when the card moves.