diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6fa8ddb..7c72c4d 100644 Binary files a/pnpm-lock.yaml and b/pnpm-lock.yaml differ diff --git a/src/app/components/ChatCompose.svelte b/src/app/components/ChatCompose.svelte index ed8f179..9a5a57b 100644 --- a/src/app/components/ChatCompose.svelte +++ b/src/app/components/ChatCompose.svelte @@ -20,6 +20,8 @@ export const focus = () => editor.then(ed => ed.chain().focus().run()) + const uploadFiles = () => editor.then(ed => ed.chain().selectFiles().run()) + const submit = async () => { if ($uploading) return @@ -40,11 +42,21 @@ submit, uploading, aggressive: true, - disableFileUpload: true, })