Is it possible to expose 'Tag' setting in a Code Component?

Is it possible to create a code component which is by default a ‘div’ or a ‘span’ and has got this functionality of changing it into ‘h1’ ‘h2’ ‘h3’ etc?

Hi, this should be possible with a string or choice prop, though it won’t have the same UI as you see in the screenshot.

1 Like