Skip to content
This repository has been archived by the owner on Feb 10, 2020. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 722 Bytes

File metadata and controls

41 lines (26 loc) · 722 Bytes

text

image

Render an auto-growing textarea allow users to fill any textual content.

You can also pass any extra prop to the textarea rendered by this field.

label:

A label for the field.

  • Type: String
  • Required: No

help:

Used to add help text below the field.

  • Type: String
  • Required: No

For more read gutenberg readme.

Example:

text: {
	type: 'string',
	field: {
		type: 'text',
		placeholder: __( 'Enter text' ),
	},
}

Return

This will return text.

  • Type: string