The highlightField
formatter is used to highlight relevant inline text when you have document search turned on for a long-form text field, such as help articles and documents. Occasionally, these fields include HTML tags, such as a code snippet you can use in the Yext platform! We found an issue where HTML tags in rich text fields did not display correctly on the card. This has now been corrected.
Upgrade Implications:
If you wrote a custom highlightField
formatter, you’ll need to refresh it with the one in the theme (see themes/answers-hitchhiker-theme/static/js/formatters-internal.js
) and carry over any custom changes.
This feature is available in Early Access. Here’s how to use the Early Access branches of the Theme and SDK!