mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
feat: Upload remote-hosted images on paste (#8301)
* First pass * fix * tidy, tidy * Determine dimensions * docs * test getFileNameFromUrl * PR feedback * tsc
This commit is contained in:
@@ -16,7 +16,7 @@ export type Options = {
|
||||
/** Set to true to replace any existing image at the users selection */
|
||||
replaceExisting?: boolean;
|
||||
/** Callback fired to upload a file */
|
||||
uploadFile?: (file: File) => Promise<string>;
|
||||
uploadFile?: (file: File | string) => Promise<string>;
|
||||
/** Callback fired when the user starts a file upload */
|
||||
onFileUploadStart?: () => void;
|
||||
/** Callback fired when the user completes a file upload */
|
||||
|
||||
Reference in New Issue
Block a user