diff --git a/memento-note/components/note-editor/note-editor-toolbar.tsx b/memento-note/components/note-editor/note-editor-toolbar.tsx index a7bb3a9..731ee7d 100644 --- a/memento-note/components/note-editor/note-editor-toolbar.tsx +++ b/memento-note/components/note-editor/note-editor-toolbar.tsx @@ -301,7 +301,7 @@ export function NoteEditorToolbar({ mode, onClose, onToggleAttachments, attachme {t('richTextEditor.exportMarkdown')} - mdImportInputRef.current?.click()}> + setTimeout(() => mdImportInputRef.current?.click(), 0)}> {t('richTextEditor.importMarkdown')}