describeEditorField
describeEditorField(
path,attribute,options?):EditorFieldDescriptor
Defined in: wp-typia-block-runtime/src/editor.ts:361
Describe one manifest attribute as an editor field model.
Parameters
Section titled “Parameters”string
Dot-separated manifest attribute path.
attribute
Section titled “attribute”Manifest attribute metadata for that path.
options?
Section titled “options?”EditorModelOptions = {}
Label and control preferences for editor generation.
Returns
Section titled “Returns”A normalized field descriptor for editor rendering helpers.
Example
Section titled “Example”const field = describeEditorField("content", attribute);