The editor builds a complete PDF workspace on EmbedPDF. Feature flags can expose or hide annotation, redaction, forms, signing, stamps, page organization, security, printing, capture, outline, attachments, comments, and fullscreen behavior.
Use defaultMode to choose the initial workspace. Text-selection actions can receive selected text and page-relative rectangles for application-specific tasks such as citations or extraction. A ref exposes document-buffer, download, and print operations.
Redaction, flattening, and page deletion are destructive after confirmation. Page organization reopens the document and clears undo history. Security changes are staged until the PDF bytes are read or downloaded. Saved signatures use local storage unless persistence is disabled or given a custom key.
