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.

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:


Hello there.

In order to do this, you will need to create a custom UI. Here is more about it:

This is the component that gets attached when you right-click the page: . Also, you can check the other components when you right-click other parts of the document here with some options for basic customization: