How to hide the annotationPopup or some specific button from the annotationPopup for the specific annotation?

Which product are you using?
PDF.js Express Plus

PDF.js Express Version

Detailed description of issue
I am adding the Free Text annotation programmatically, For some annotation I want to hide the annotationPopup and for some specific annotation I want to remove only delete button from the annotationPopup how can i do it please share me reference code or doc ?

When I do double click and try to edit the text from the free text annotation then color update popup is showing I want to remove that ?

Hi there,

Thank you for contacting pdf.js express forums,

To remove the delete button from the annotation popup, you can follow the guide here to remove it from the popup:


You can also do the same for the style popup via:


Best regards,
Kevin Kim

1 Like

Thanks you so much @kkim