# How to delete highlight annotation from pdf with pdf js express in react

**URL:** <https://pdfjs.community/t/how-to-delete-highlight-annotation-from-pdf-with-pdf-js-express-in-react/379>\
**Category:** Technical Support\
**Created:** [November 3, 2020, 2:32am UTC](https://pdfjs.community/t/how-to-delete-highlight-annotation-from-pdf-with-pdf-js-express-in-react/379 "2020-11-03T02:32:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [November 6, 2020, 3:57pm UTC](https://pdfjs.community/t/how-to-delete-highlight-annotation-from-pdf-with-pdf-js-express-in-react/379/4 "2020-11-06T15:57:57Z")

</div>

Hey there,

Are you trying to delete an annotation that is already part of the document? I’m a little bit confused by your code because you are not adding the annotation to the document first. PDF.js Express does not support deleting annotations that are already baked into the document.

---

_[View the full topic](https://pdfjs.community/t/how-to-delete-highlight-annotation-from-pdf-with-pdf-js-express-in-react/379)._
