Skip to content
Snippets Groups Projects
Commit e662dece authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2579471 by walangitan, droplet, biguzis, thorandre, swentel: Allow more...

Issue #2579471 by walangitan, droplet, biguzis, thorandre, swentel: Allow more chars in "Limit allowed HTML tags" filter
parent 3e9a50d0
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -49,7 +49,7 @@ public function settingsForm(array $form, FormStateInterface $form_state) {
'#type' => 'textfield',
'#title' => $this->t('Allowed HTML tags'),
'#default_value' => $this->settings['allowed_html'],
'#maxlength' => 1024,
'#maxlength' => 2048,
'#description' => $this->t('A list of HTML tags that can be used. By default only the <em>lang</em> and <em>dir</em> attributes are allowed for all HTML tags. Each HTML tag may have attributes which are treated as allowed attribute names for that HTML tag. Each attribute may allow all values, or only allow specific values. Attribute names or values may be written as a prefix and wildcard like <em>jump-*</em>. JavaScript event attributes, JavaScript URLs, and CSS are always stripped.'),
'#size' => 250,
'#attached' => array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment