Skip to content

Commit

Permalink
Disable spellcheck for customHTML text box, #PG-4001
Browse files Browse the repository at this point in the history
  • Loading branch information
AltamashShaikh committed Nov 19, 2024
1 parent 1fa5869 commit eaa0db2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Template/Tag/CustomHtmlTag.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public function getParameters()
['<a rel="noreferrer noopener" target="_blank" href="' . Url::addCampaignParametersToMatomoLink('https://matomo.org/faq/tag-manager/faq_26815/', null, null, 'App.TagManager.getParameters') . '">', '</a>']
);
$field->validators[] = new NotEmpty();
$field->uiControlAttributes = ['spellcheck' => 'false'];
}),
$this->makeSetting('htmlPosition', 'bodyEnd', FieldConfig::TYPE_STRING, function (FieldConfig $field) {
$field->title = Piwik::translate('TagManager_CustomHtmlHtmlPositionTitle');
Expand Down

0 comments on commit eaa0db2

Please sign in to comment.