- Type:
String
- Required: No
A label for the field.
- Type:
String
- Required: No
Used to add help text below the field.
- Type:
String
- Required: No
For full documentation read gutenberg readme.
Example:
text: {
type: 'string',
field: {
type: 'rich-text',
placeholder: __( 'Enter text' ),
},
source: 'children',
selector: '.rich-text',
}
This will return rich-text output.
- Type:
string