From 8abb1686db8a5ab4eb7358b6a9186078254671f9 Mon Sep 17 00:00:00 2001 From: vincent-gao Date: Fri, 22 Mar 2024 16:56:34 +1100 Subject: [PATCH] [SDPAP-8359] increase character limit for url field (#441) * [SDPAP-8359] increase character limit for urlfield ### Jira [SDPAP-8359] Embed tool - increase character limit for URL field ### Change simply increase #maxlength to 512, which should be enough. * increases the maxlength to 1024 --- modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php b/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php index a99f93a11..7ba339b64 100644 --- a/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php +++ b/modules/tide_ckeditor/src/Plugin/EmbeddedContent/TideIframe.php @@ -59,6 +59,7 @@ public function buildConfigurationForm(array $form, FormStateInterface $form_sta '#type' => 'url', '#title' => $this->t('Url'), '#default_value' => $this->configuration['url'], + '#maxlength' => 1024, '#required' => TRUE, ]; $form['width'] = [