From ba365e98de6fc9bf74ec393aa0a7782eb112be37 Mon Sep 17 00:00:00 2001 From: Vincent Gao Date: Wed, 11 Oct 2023 13:23:49 +1100 Subject: [PATCH] [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. --- 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..2af1f58d0 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' => 512, '#required' => TRUE, ]; $form['width'] = [