Optional ReadonlyaddRegister a passkey that unlocks a protected document beside its password.
Optional ReadonlybackupsOptional ReadonlycompareCompare the document with a file, side by side.
Optional ReadonlydocumentChoose which of copy, cut, paste, print, download and the context menu are blocked.
Optional ReadonlydownloadDownload in a named format: 'html' | 'markdown' | 'text' | 'json' |
'docx' | 'rtf', or 'encrypted' for a password-protected .tvx envelope
(the menu entry appears only when protectDocument is wired too).
Optional ReadonlyexportDownload every document in a workspace folder at once, as one archive.
Optional ReadonlyexportPrint the document alone; the browser's print dialog is where the PDF comes from. File ▸ Print… runs this too, or prints the document itself when a host leaves it out.
Optional ReadonlyexportOptional ReadonlyimportOptional ReadonlyimportClip a web page's article into the document.
Optional ReadonlynewOptional ReadonlyopenOptional ReadonlyprintOptional ReadonlyprotectSet (or lift) a password and expiry; @trevixal/extension-security does the crypto.
Optional ReadonlysaveOptional ReadonlysaveKeep the document as it is now under a name, to come back to or compare against.
Optional ReadonlysignSign the document with the author's key, so a change after it shows.
File-level actions the host owns, because they touch storage, the network or the page:
@trevixal/ui'sdocumentsmodule implements all of them.