Optional ReadonlyacceptOptional ReadonlybindUpload files dropped onto the editor. Defaults to true.
Optional ReadonlydeleteDelete the stored object when its attachment leaves the document.
Optional ReadonlymaxBytes; defaults to 25 MB.
Optional ReadonlyonSurfaced to the user when a file is rejected or an upload fails.
Optional ReadonlyonUpload lifecycle for progress UI; called on every state change.
ReadonlystorageWhere the bytes go. Any FileStorage implementation.
Accepted files: MIME types (
application/pdf), wildcards (text/*) or extensions (.zip). Defaults to everything that is not an image, images belong to@trevixal/extension-image, which claims them on drop first.