-
Notifications
You must be signed in to change notification settings - Fork 7
add UI customization document editor sidebar #161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Operations now queue and apply on save
Select all page IDs instead of empty set
- Track rotation from document and draft changes separately - Show rotated/removed/new pages in draft state - Apply operations on save - Swap dimensions for 90/270 degree rotations
- Directly filter pages instead of marking - Update page indexes after removal - Simplify displayPages logic
ritz078
left a comment
There was a problem hiding this 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> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Thanks for the catch, fixed the scroll in 1e90d51.
|
- Track blob URLs in ref for proper cleanup - Revoke URLs when regenerating thumbnails - Cleanup on component unmount - Refactor into cleanupBlobUrls function


Details
Following operations are added:
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