webviewer-ui icon indicating copy to clipboard operation
webviewer-ui copied to clipboard

Feature request: "delete page" confirm popup optionnal

Open peterpeterparker opened this issue 4 years ago • 3 comments

Feature Description

Can you add an option the make the "Delete Page - Are you sure you want to delete the selected page(s). This can't be undonne" confirm popup optional?

Code

handleDelete()

Screenshot

Capture d’écran 2021-02-09 à 07 09 20

peterpeterparker avatar Feb 09 '21 06:02 peterpeterparker

Thanks for reaching out!

We will add this feature request to the backlog. Just curious to know any reason why you want to have this modal as optional?

ZhijieZhang avatar Feb 10 '21 23:02 ZhijieZhang

It is a requirement of my PDFTron licensed client.

We are implementing a custom "Save" feature. Therefore, I guess, the popup is less useful in such process.

I'll discuss with them again.

Thank you for your feedback.

peterpeterparker avatar Feb 11 '21 07:02 peterpeterparker

Thanks for clarification. This request has been added to the backlog.

If it's an important for you to have it now, I would suggest you modifying the UI source code(as you linked in the issue body) and make a custom UI build to use in your app. See https://www.pdftron.com/documentation/web/guides/advanced-customization/

ZhijieZhang avatar Feb 23 '21 20:02 ZhijieZhang