From eaa0db2b061dcc6a9bc5d2f69de81aae934a6cc3 Mon Sep 17 00:00:00 2001 From: Altamash Shaikh Date: Tue, 19 Nov 2024 13:54:26 +0530 Subject: [PATCH] Disable spellcheck for customHTML text box, #PG-4001 --- Template/Tag/CustomHtmlTag.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Template/Tag/CustomHtmlTag.php b/Template/Tag/CustomHtmlTag.php index 7ec1c6a42..12d291069 100644 --- a/Template/Tag/CustomHtmlTag.php +++ b/Template/Tag/CustomHtmlTag.php @@ -46,6 +46,7 @@ public function getParameters() ['', ''] ); $field->validators[] = new NotEmpty(); + $field->uiControlAttributes = ['spellcheck' => 'false']; }), $this->makeSetting('htmlPosition', 'bodyEnd', FieldConfig::TYPE_STRING, function (FieldConfig $field) { $field->title = Piwik::translate('TagManager_CustomHtmlHtmlPositionTitle');