create_field_plugin
Create custom field plugins (field types) in Storyblok by specifying a unique name, JavaScript source, and context (space, org, or partner) for seamless integration.
Instructions
Creates a new field plugin (field type) in the specified context.
Args:
name (str): Unique name for your plugin (e.g., 'my-geo-selector').
body (str): The uncompiled JavaScript source for the plugin.
compiled_body (str): Required; empty string if developing locally.
context (str): 'space', 'org', or 'partner'.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | Yes | ||
compiled_body | No | ||
context | No | space | |
name | Yes |