Skip to content

Commit

Permalink
Allow basicEntities in headline2
Browse files Browse the repository at this point in the history
- Contao ^5
  • Loading branch information
zoglo committed Apr 4, 2024
1 parent 04ce3c1 commit a45c879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contao/dca/tl_content.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'search' => true,
'inputType' => 'inputUnit',
'options' => ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'div', 'span', 'strong'],
'eval' => ['tl_class'=>'w50 clr'],
'eval' => ['basicEntities' => true, 'tl_class'=>'w50 clr'],
'sql' => "varchar(1022) NULL default 'a:2:{s:5:\"value\";s:0:\"\";s:4:\"unit\";s:2:\"h3\";}'"
];

Expand Down
2 changes: 1 addition & 1 deletion contao/dca/tl_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'search' => true,
'inputType' => 'inputUnit',
'options' => ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'div', 'span', 'strong'],
'eval' => ['tl_class'=>'w50 clr'],
'eval' => ['basicEntities' => true, 'tl_class'=>'w50 clr'],
'sql' => "varchar(1022) NULL default 'a:2:{s:5:\"value\";s:0:\"\";s:4:\"unit\";s:2:\"h3\";}'"
];

Expand Down

0 comments on commit a45c879

Please sign in to comment.