Different text styles within the same text box - Is this possible?

When changing text styles within the same text - for example changing some text to H1.

When doing so, even when the text is highlighted - it changes the entire text box to H1.

When speaking to support, they said that this is by design and I need to create different text boxes?

It’s possible, but requires setup, either:

  • Setup a single-record CMS collection, add a rich-text field and link it to the text you want designed
  • Alternatively, set the text element’s HTML programmatically
    $w('#text').html = `
        <h1>Header</h1>
        <p>Paragraph
            <a href='https://google.com'>link</a>
        ...</p>
    `