[PR #715] [CLOSED] feat: Support for Multiple Document Formats and Conversion #1132

Closed
opened 2026-02-26 19:31:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/715
Author: @PrettyAX
Created: 12/2/2023
Status: Closed

Base: mainHead: main


📝 Commits (3)

📊 Changes

5 files changed (+930 additions, -6 deletions)

View changed files

apps/web/mammoth.d.ts (+5 -0)
📝 apps/web/src/app/(dashboard)/documents/upload-document.tsx (+45 -2)
📝 package-lock.json (+871 -3)
📝 package.json (+7 -1)
📝 packages/ui/primitives/document-dropzone.tsx (+2 -0)

📄 Description

This change supports DOCX in addition to PDF
The dropzone now accepts docx, doc and PDF
When file is dropped in dropzone, it is converted to PDF if it is a docx file.
Conversion is done on client-side using Mammoth and jsPDF.
resolves https://github.com/documenso/documenso/issues/701


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/715 **Author:** [@PrettyAX](https://github.com/PrettyAX) **Created:** 12/2/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`e055f61`](https://github.com/documenso/documenso/commit/e055f612bf22f1b300f725503d596cb8f563d792) Changes dropzone file format acceptance - [`aa7eb40`](https://github.com/documenso/documenso/commit/aa7eb40d530f8b032dcb6d27bb00b8f2e60fbafb) feat: add packages - [`8154cf9`](https://github.com/documenso/documenso/commit/8154cf9e5d5c882895fefd7dffcfb10ea8c4aa2e) feat: update ### 📊 Changes **5 files changed** (+930 additions, -6 deletions) <details> <summary>View changed files</summary> ➕ `apps/web/mammoth.d.ts` (+5 -0) 📝 `apps/web/src/app/(dashboard)/documents/upload-document.tsx` (+45 -2) 📝 `package-lock.json` (+871 -3) 📝 `package.json` (+7 -1) 📝 `packages/ui/primitives/document-dropzone.tsx` (+2 -0) </details> ### 📄 Description This change supports DOCX in addition to PDF The dropzone now accepts docx, doc and PDF When file is dropped in dropzone, it is converted to PDF if it is a docx file. Conversion is done on client-side using Mammoth and jsPDF. resolves https://github.com/documenso/documenso/issues/701 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:31:58 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#1132
No description provided.