# Inconsistent highlight annotations - sometimes blocking text

**URL:** <https://pdfjs.community/t/inconsistent-highlight-annotations-sometimes-blocking-text/2072>\
**Category:** Technical Support\
**Created:** [September 29, 2022, 12:40am UTC](https://pdfjs.community/t/inconsistent-highlight-annotations-sometimes-blocking-text/2072 "2022-09-29T00:40:14Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [September 29, 2022, 12:40am UTC](https://pdfjs.community/t/inconsistent-highlight-annotations-sometimes-blocking-text/2072/3 "2022-09-29T00:40:19Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Advanced Search - Add a highlight annotation to each search result](https://pdfjs.express/documentation/search/advanced-search#add-a-highlight-annotation-to-each-search-result)
- [Hiding annotations in WebViewer notes panel - setCustomNoteFilter](https://pdfjs.express/documentation/ui-customization/ui-customization-notes-panel#setcustomnotefilter)
- [Create highlight annotations in PDF.js Express - Other examples](https://pdfjs.express/documentation/annotation/create-annotation-highlight#other-examples)

APIs:
- [UndefinedbeforeDocumentLoaded](https://pdfjs.express/api/namespaces.list.html#event:beforeDocumentLoaded__anchor)
- [Core.Annotations.TextHighlightAnnotation - new TextHighlightAnnotation( [initializer])](https://pdfjs.express/api/Core.Annotations.TextHighlightAnnotation.html#TextHighlightAnnotation__anchor)
- [TextHighlightAnnotation - new TextHighlightAnnotation()](https://pdfjs.express/api/TextHighlightAnnotation.html#TextHighlightAnnotation__anchor)

Forums:
- [Integrate PDF.JS Express in Salesforce Lightning Component](https://pdfjs.community/t/integrate-pdf-js-express-in-salesforce-lightning-component/442/1)
- [Can fitText be used to set only height? If not, is there an alternative](https://pdfjs.community/t/can-fittext-be-used-to-set-only-height-if-not-is-there-an-alternative/896/1)
- [What version of PDF.js Express we should use](https://pdfjs.community/t/what-version-of-pdf-js-express-we-should-use/1542/1)

  
  

Share how you are using PDF.js Express in your organization you could win a **$500 Amazon gift card. All participants will receive 6 months of PDF.js Express+ for free**. Learn more [here](https://utm.guru/ueQNw)

---

_[View the full topic](https://pdfjs.community/t/inconsistent-highlight-annotations-sometimes-blocking-text/2072)._
