Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support for Uploading & Customizing Word Files #172

Open
jatintristate opened this issue Feb 21, 2025 · 1 comment
Open

Comments

@jatintristate
Copy link

Hey buddy,

Great job on creating such a fantastic library! It’s been incredibly useful. Well done! 👏

I’d love to see an enhancement that allows users to upload and customize Word (.docx) files. Right now, handling Word documents within the file manager isn’t possible, but adding this feature could make it even more powerful.

Suggested Features

✅ Upload .docx files
✅ Display a preview of the document
✅ Provide basic text editing (bold, italic, font size, etc.)
✅ Save or export the modified document

This would be a game-changer for users dealing with document management. Would love to hear your thoughts on this! 🚀

Thanks again for your awesome work!

@Saifullah-dev
Copy link
Owner

Saifullah-dev commented Feb 22, 2025

Hi @jatintristate , thank you for your kind words. I'm glad you're finding this package useful.

For .docx file previewing and editing you can use the filePreviewComponent prop and use various libraries like react-doc-viewer, Google Docs Viewer etc.

Since these solutions rely on third-party libraries, integrating them would introduce external dependencies. However, with the flexibility of the custom file previewer prop, you can choose the approach that best fits your needs without making the file manager package itself dependent on them.

Let me know if you need guidance on its implementation. I'll add a CodeSandbox example here. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants