From 730ab5c1599e69e9b0905ad7bf8367841e071e8a Mon Sep 17 00:00:00 2001 From: Yeni Atencio Date: Wed, 8 Jan 2025 10:50:04 +1100 Subject: [PATCH] remove required height and width for embedded content --- modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php b/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php index 7ba339b64..f888c654f 100644 --- a/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php +++ b/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php @@ -66,13 +66,11 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta '#type' => 'textfield', '#title' => $this->t('Width'), '#default_value' => $this->configuration['width'], - '#required' => TRUE, ]; $form['height'] = [ '#type' => 'textfield', '#title' => $this->t('Height'), '#default_value' => $this->configuration['height'], - '#required' => TRUE, ]; return $form; }