How to wrap embedded data text? | XM Community
Skip to main content
Question

How to wrap embedded data text?

  • October 11, 2024
  • 1 reply
  • 33 views

Forum|alt.badge.img

I’m looking to add a URL from my embedded data into the question text. However, when I do this, half of the URL gets cut off in mobile view. To view the full URL, the user would need to scroll to the side, which isn’t ideal. The URL also isn’t clickable - just showing up as static text. How can I adjust this? 

1 reply

Nam Nguyen
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+29
  • QPN Level 8 ●●●●●●●●
  • 1096 replies
  • October 12, 2024

@snerose Open Rich Content Editor for your questiontext and enter source mode

Add this HTML line to it, change the href and text apperance as you wish

<a target="_blank" style="word-wrap: break-word;" rel="noopener" href="${e://Field/YourEmbeddedURL}"> ${e://Field/YourEmbeddedURL} </a>