- Adding a new type of external data tool External Data Tool
- Extending sensitive content moderation strategies Moderation
Frontend Component Specification Definition
The frontend styles of code extensions are defined throughschema.json:
- label: Custom type name, supporting system language switching
- form_schema: List of form contents
- type: Component type
- select: Dropdown options
- text-input: Text
- paragraph: Paragraph
- label: Component name, supporting system language switching
- variable: Variable name
- required: Whether it is required
- default: Default value
- placeholder: Component hint content
- options: Exclusive property for the “select” component, defining the dropdown contents
- label: Dropdown name, supporting system language switching
- value: Dropdown option value
- max_length: Exclusive property for the “text-input” component, maximum length
- type: Component type
Template Example
Edit this page
Help improve our documentation by contributing directly
Report an issue
Found an error or have suggestions? Let us know