Adding Targets to Links in Rich Text Field

Hi Team,
My links in my rich text field are working on the production URL but they are not working within the iframe, potentially because a target is not being passed. The goal behavior is target=“_top”. How can I add this the the rich text field?
Thanks!

Since the target was not being passed automatically we added it into the formatter and then it displayed properly on the client’s side:

details: profile.c_eventDescription ? ANSWERS.formatRichText(profile.c_eventDescription, “”, “_top”): null,

Hi Carolyn,

Glad you figured it out! For future reference, the fields including target you can pass for Rich Text: Adding Rich Text | Hitchhikers

Alyssa

Hi Alyssa,

Before I added the target the links just would not open at all for the client, will we need to set a target for all rich text fields going forward?

Thanks,
Carolyn

Hi Carolyn,

Yes, I flagged this to our Product team and we’ll see if we can implement a change for this in the next theme update.

Thanks so much,
Alyssa