NO BUG: Changing a <p> element to <legend> doesn't work

Browser: Chrome 110
OS: Windows
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

I’m trying to create a <legend> element under a <fieldset> so I take a basic text element and modify the tag etc, but then I cannot add child elements to this as if it still thinks it’s a <p>

Hi Pete,
Thanks so much for your report!

I’m not quite sure what you are doing, but the basic text element is not a nestable element. Accordingly, it is not possible for it to contain other elements - regardless of the tag.

You should use a block or div element and change its HTML tag to fieldset. Then you can use the basic text element with the custom “legend” HTML tag in it.

Best regards,
timmse

Thank you, I think I made a mistake, please close this as dumb user.

Regards
Pete