{# js will strip out the toggle span when the "add" button is being used. #} {# When the menu is at the top of an area the toggle span does appear. #}
  • {% if addLabel %}{{ __(addLabel) | e }}{% else %}{{ __('Add Content') }}{%endif %}
      {% for control in controls %} {# Bold, italic, etc. are not item types, here we pay attention only to controls that are #} {% if itemTypes[control] %}
    • {{ __(itemTypes[control].label) | e }}
    • {% endif %} {% endfor %}