Jump to content


TextPlugin <br> tags don't work in reverse

Recommended Posts

As you can see in the codepen, the <br> tags work as expected going forward. But all text changes besides the final one, don't recognize the break tags as needed.

See the Pen mMRmrj by anon (@anon) on CodePen

Link to comment
Share on other sites

Sorry, but TextPlugin is just for text - it isn't supposed to support nested HTML tags like that. For that effect, you'd need to break it into several elements, like <span>with</span><br></span>love</span> and then sequence the "with" and "love" as 2 different tweens. See what I mean? 

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.