Skip to content

Commit

Permalink
Also add CSS classes to new Content Elements
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhj committed Nov 14, 2022
1 parent ddcbcd0 commit a4c2303
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Empty file.
3 changes: 3 additions & 0 deletions contao/templates/root/content_element/_base.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{% extends '@Contao/content_element/_base.html.twig' %}

{% set attributes = attrs(attributes|default).addClass(data.toolbox_classes|default('')|split(' ')) %}

0 comments on commit a4c2303

Please sign in to comment.