Components - activating the tag on a headline

I have a component that is a headline.

I’ve created the parameters. All the parameters are working as expected however I want the user to be able to choose the tag for the headline. The tag options appear in the headline but they take no effect. As I can’t add {{dc:p:tag}} into the headline HTML Tag I’m not sure how I wire my component to use the tag parameter I’ve created.

“tag” : {
“type” : “choose”,
“label” : “Tag”,
“initial” : “h3”,
“options” : [
{ “value” : “h3”, “label” : “h3” },
{ “value” : “h4”, “label” : “h4” },
{ “value” : “h5”, “label” : “h5” },
{ “value” : “h6”, “label” : “h6” },
{ “value” : “p”, “label” : “P” }
]
},

Hello @urchindesign,

Thanks for writing in!

You can enable the breakout mode to be able to insert your parameter tag and be able to change the HTML tag.

Best Regards.

Found it already but thanks for replying. Completely forgot about breakout mode.

Hey @urchindesign,

You’re most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.