How to open same context menu like this image when click on specific annotation from pdf?

I’m using @pdftron/webviewer 7.2 library. I want to open same context menu with text label as in image screenshot.

Please let me know how can we do that.
Thanks

Hello, I’m Ron, an automated tech support bot :robot:

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

Guides:APIs:Forums:

Hello there.

In order to do this, you will need to create a custom UI. Here is more about it: https://www.pdftron.com/documentation/web/guides/advanced-customization/#working-with-the-public-repo-in-github

This is the component that gets attached when you right-click the page: https://github.com/PDFTron/webviewer-ui/blob/8.3/src/components/ContextMenuPopup/ContextMenuPopup.js . Also, you can check the other components when you right-click other parts of the document here with some options for basic customization: https://www.pdftron.com/documentation/web/guides/customizing-popup/