feat(file): add more upload types to the file block (#1386)

This commit is contained in:
Waleed
2025-09-19 10:07:52 -07:00
committed by GitHub
parent 04922fe5c9
commit a1c518e4e1

View File

@@ -42,7 +42,7 @@ export const FileBlock: BlockConfig<FileParserOutput> = {
title: 'Upload Files',
type: 'file-upload' as SubBlockType,
layout: 'full' as SubBlockLayout,
acceptedTypes: '.pdf,.csv,.docx',
acceptedTypes: '.pdf,.csv,.doc,.docx,.txt,.md,.xlsx,.xls,.html,.htm,.pptx,.ppt',
multiple: true,
condition: {
field: 'inputMethod',