github-actions
released this
25 Jun 14:05
·
3 commits
to canary
since this release
Patch Changes
-
f0543e0: Adds missing TextAreaControl handler when specifing a
control: 'textarea'
in Component.config.editorFields.Adding this configuration to your blocks will render TextAreaControls component in the editor.
// Component.js Component.config = { name: 'CreateBlockBlockB', editorFields: { textArea: { type: 'string', label: 'My Message', location: 'editor', control: 'textarea', // <--- Render a TextAreaControl field in the Gutenberg editor }, }, };