what i have is a paragraph (from the paragraphs module) which has two fields :
- field_title (text)
- field_title_level (list texte)
The field_title_level can have either h2,h3 or h4 as a value.
What i would like to do is to surround the title text with a h2/h3/h4 div.
I tried using templates (paragraph, or field). With the field one, i managed to add a div over the title, but i didn’t manage to access the field_title_level in order to add the correct div. And using the paragraph template, i didn’t manage to add any div over the title.
Any clue? Thanks in advance.