Skip to content

Conversation

@divyanshu013
Copy link
Member

@divyanshu013 divyanshu013 commented Dec 12, 2025

Details

Following operations are added:

  • Rotate clockwise + anti clockwise
  • Delete page
  • Add page
  • Duplicate
  • Move pages
  • Export pages
  • Import pages

For review main changes needing attention are in DocumentEditor.tsx. Project is scaffolded following the getting started guide for React + Vite.

Related guide PR https://github.com/PSPDFKit/nutrient-website/pull/2541

Demo

2025-12-26.at.19.07.56.-.Amaranth.Pony.mp4

@divyanshu013 divyanshu013 self-assigned this Dec 12, 2025
@divyanshu013 divyanshu013 marked this pull request as ready for review December 26, 2025 13:39
@divyanshu013 divyanshu013 requested a review from a team December 26, 2025 13:39
Copy link
Contributor

@ritz078 ritz078 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. Scroll is not working in sidebar.


return (
<ThemeProvider theme={themes.base.light}>
<FrameProvider>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this the buttons aren't working. Do we need something else 🤔

image

@divyanshu013
Copy link
Member Author

Thanks for the catch, fixed the scroll in 1e90d51.

image

- Track blob URLs in ref for proper cleanup
- Revoke URLs when regenerating thumbnails
- Cleanup on component unmount
- Refactor into cleanupBlobUrls function
@divyanshu013 divyanshu013 merged commit 418308e into master Jan 2, 2026
2 checks passed
@divyanshu013 divyanshu013 deleted the div/ui-customization-doc-editor branch January 2, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants