diff --git a/src/Form/EntityEmbedDialog.php b/src/Form/EntityEmbedDialog.php index ae0194b..f9c5453 100644 --- a/src/Form/EntityEmbedDialog.php +++ b/src/Form/EntityEmbedDialog.php @@ -463,7 +463,7 @@ class EntityEmbedDialog extends FormBase { if ($editor->getFilterFormat()->filters('filter_caption')->status) { $form['attributes']['data-caption'] = array( '#title' => $this->t('Caption'), - '#type' => 'textfield', + '#type' => 'textarea', '#default_value' => isset($entity_element['data-caption']) ? Html::decodeEntities($entity_element['data-caption']) : '', '#element_validate' => array('::escapeValue'), );