Expand/Collapse answer content searchable in Search Results and page search?
Content
We're trying to implement expand/collapse functionality on our customer portal answer pages but have come across an issue related to searching. Has anyone implemented expand/collapse functionality on their answer pages where search works in the following ways? We can only get one or the other search functionality to work, not both.
- Customer Portal search results return answers with search terms within the collapsed answer content.
- On the answer page, browser can find keywords searched within the collapsed answer content.
On cx.rightnow, you can search for IT Contact and find this answer, Using the Contact Management page to add or update designated contacts (Using the Contact Management page to add or update designated contacts). If you CTRL + F on the page while the sections are collapsed and search for IT contact, you get one result that highlights "edit contact" but not the other 4 results that are within the first expanding section.(screenshot attached)