Styling Highlight Question text to indicate interactive words/groups | XM Community
Skip to main content

I want to style text that is selectable in a highlight question so the user can easily see what’s interactive without having to hover over every line. There is no rich text editor in the text highlight edit section, so I’m wondering if there’s a way around that.

Hi, the below JavaScript will underline words that are selectable for a Highlight question.

jQuery("#"+this.questionId+" span.HLTextWord").css("text-decoration", "underline");

I found it on here.


Thanks so much, Tom. Trying it now and will report back.


This worked perfectly. Thanks a ton, Tom.


Leave a Reply