Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: added all supported extensions in the dropzone hint (#789)

JeevaRamanathan0c816c101d77
diff --git a/components/document-upload.tsx b/components/document-upload.tsx
index 5d8d209e..3ca451a6 100644
--- a/components/document-upload.tsx
+++ b/components/document-upload.tsx
@@ -169,8 +169,8 @@ export default function DocumentUpload({
{currentFile
? "Replace file?"
: isFreePlan && !isTrial
- ? `Only *.pdf, *.xls, *.xlsx, *.csv, *.ods & ${maxSize} MB limit`
- : `Only *.pdf, *.pptx, *.docx, *.xlsx, *.xls, *.csv, *.ods, *.ppt, *.odp, *.doc, *.odt & ${maxSize} MB limit`}
+ ? `Only *.pdf, *.xls, *.xlsx, *.csv, *.ods, *.png, *.jpeg, *.jpg & ${maxSize} MB limit`
+ : `Only *.pdf, *.pptx, *.docx, *.xlsx, *.xls, *.csv, *.ods, *.ppt, *.odp, *.doc, *.odt, *.dwg, *.dxf, *.png, *.jpg, *.jpeg & ${maxSize} MB limit`}
</p>
</div>
</div>
diff --git a/components/upload-zone.tsx b/components/upload-zone.tsx
index 756f6014..54b11610 100644
--- a/components/upload-zone.tsx
+++ b/components/upload-zone.tsx
@@ -349,8 +349,8 @@ export default function UploadZone({
<span className="mx-auto">Drop your file(s) to upload here</span>
<p className="text-xs leading-5 text-gray-800">
{isFreePlan && !isTrial
- ? `Only *.pdf, *.xls, *.xlsx, *.csv, *.ods & ${maxSize} MB limit`
- : `Only *.pdf, *.pptx, *.docx, *.xlsx, *.xls, *.csv, *.ods, *.ppt, *.odp, *.doc, *.odt & ${maxSize} MB limit`}
+ ? `Only *.pdf, *.xls, *.xlsx, *.csv, *.ods, *.png, *.jpeg, *.jpg & ${maxSize} MB limit`
+ : `Only *.pdf, *.pptx, *.docx, *.xlsx, *.xls, *.csv, *.ods, *.ppt, *.odp, *.doc, *.odt, *.dwg, *.dxf, *.png, *.jpg, *.jpeg & ${maxSize} MB limit`}
</p>
</div>
</div>