PDFJs Delete page is not working

Hi @Logan,

I am not able to make the delete pages working, Getting the below error.
image

Can you please assist me on the same, what needs to be done here to fix the issue.

And also please let me know , if I want to hide this delete page option, how can I do that?

Best Reards
Kallol

Hi,

Page deletion is not supported in PDF.js Express (there was a bug where we were still displaying it in the UI that was patched in 7.0.1).

To hide that part of the UI you can call

instance.disableElements(['documentControl']);

Thanks!
Logan