From bd6d2cd40493fddb247751f35e6ba4a65922c37c Mon Sep 17 00:00:00 2001 From: drelich Date: Sat, 21 Mar 2026 21:34:30 +0100 Subject: [PATCH] fix: restore hidden file input for InsertToolbar attachment upload - Add back hidden file input element removed with Attach button - InsertToolbar still uses file upload functionality - Fixes TypeScript build error TS6133 (unused handleAttachmentUpload) - Attachment upload still available via floating insert toolbar --- src/components/NoteEditor.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/NoteEditor.tsx b/src/components/NoteEditor.tsx index ebabf4b..da9f983 100644 --- a/src/components/NoteEditor.tsx +++ b/src/components/NoteEditor.tsx @@ -768,6 +768,13 @@ export function NoteEditor({ note, onUpdateNote, onUnsavedChanges, categories, i onInsertFile={handleInsertFile} isUploading={isUploading} /> +