watson-developer-cloud / discovery-components

IBM Watson Discovery components
https://watson-developer-cloud.github.io/discovery-components/storybook
Apache License 2.0
20 stars 38 forks source link

fix: return normalized text divs/content values #581

Closed jhpedemonte closed 3 months ago

jhpedemonte commented 3 months ago

What do these changes do/fix?

Return normalized textDivs and textContent values (to ensure that they match up with each other). These are passed to the setRenderedText callback. Fixes issue where highlights weren't properly positioned over PDF document.

How do you test/verify these changes?

Have you documented your changes (if necessary)?

Are there any breaking changes included in this pull request?