Bring back blossom feature detection

This commit is contained in:
Jon Staab
2025-09-22 14:05:57 -07:00
parent 87e4e3fe5b
commit dd006badfc
5 changed files with 53 additions and 5 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ export const makeEditor = async ({
},
fileUpload: {
config: {
upload: (attrs: FileAttributes) => uploadFile(attrs.file, {encrypt: true}),
upload: (attrs: FileAttributes) => uploadFile(attrs.file, {url, encrypt: true}),
onDrop: () => uploading?.set(true),
onComplete: () => uploading?.set(false),
onUploadError(currentEditor, task) {