Edit history
PDFs supports undo and redo during editing. It does not currently provide a dedicated version-history panel plugin equivalent to those for Sheets, Docs, Slides, Boards, or Bases. Do not register another product's History UI plugin for PDFs.
Undo and redo
Undo and redo act on the focused Univer unit:
await univerAPI.undo()await univerAPI.redo()These operations do not create a server-side version list or retrieve versions from previous sessions. See General API for other operations.
Versions across sessions
Start with PDFs collaboration. For long-term version retention, consult the Office history service, verify PDF data support in your target release, and implement the version list and viewer in your application. Adding the generic History service does not automatically add a PDF history panel.
Restoring content requires document authorization, coordination with the active collaboration session, and retention of associated PDF files. Replacing the data displayed on the page is not sufficient.
How is this guide?