Skip to content

Fix redact-all - page refresh problem#489

Open
JoackimPennerup wants to merge 1 commit intoembedpdf:mainfrom
JoackimPennerup:feat/redaction-rerender-fix
Open

Fix redact-all - page refresh problem#489
JoackimPennerup wants to merge 1 commit intoembedpdf:mainfrom
JoackimPennerup:feat/redaction-rerender-fix

Conversation

@JoackimPennerup
Copy link

Issue: In annotation mode, Redact All only re-rendered the current/loaded page because page selection was based on local annotation state (byUid), which can be incomplete with lazy loading.

Fix: applyAllRedactionsAnnotationMode now discovers REDACT annotations by scanning all document pages via engine.getPageAnnotations, then applies redactions and refreshes exactly those engine-discovered pages. This makes Redact All refresh all affected pages consistently.

@vercel
Copy link

vercel bot commented Feb 26, 2026

Someone is attempting to deploy a commit to the OpenBook Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant