ueberdosis / tiptap

The headless rich text editor framework for web artisans.
https://tiptap.dev
MIT License
27.52k stars 2.29k forks source link

Export to a `docs` or `pdf` #1996

Closed JenuelDev closed 3 years ago

JenuelDev commented 3 years ago

What problem are you facing?

Writing in a text editor is fine, but what if the user wants to export it as a doc or pdf.

What’s the solution you would like to see?

Users can able to export to docs or pdf file format.

What alternatives did you consider?

using this https://github.com/curvenote/prosemirror-docx but I am not sure if this will work since its still on its development.

Anything to add? (optional)

No response

Are you sponsoring us?

philippkuehn commented 3 years ago

Sorry but I have to mark this as out of scope for tiptap itself.

andrea-kyurchiev commented 3 years ago

I am currently working on a solution using Vue3 and Laravel which seems to be working fine. I'm using barryvdh/laravel-dompdf to generate the PDF and it seems to work pretty good as you can create a html/blade view and style it as needed. I can put a simple solution in a repo and post a link for it here if that would be helpful.

JenuelDev commented 3 years ago

I am currently working on a solution using Vue3 and Laravel which seems to be working fine. I'm using barryvdh/laravel-dompdf to generate the PDF and it seems to work pretty good as you can create a html/blade view and style it as needed. I can put a simple solution in a repo and post a link for it here if that would be helpful.

awesome, thanks for replying here. please do, it will help a lot of people. Thanks again, CHEERS! 🍻🍻🍻

andrea-kyurchiev commented 3 years ago

I am currently working on a solution using Vue3 and Laravel which seems to be working fine. I'm using barryvdh/laravel-dompdf to generate the PDF and it seems to work pretty good as you can create a html/blade view and style it as needed. I can put a simple solution in a repo and post a link for it here if that would be helpful.

awesome, thanks for replying here. please do, it will help a lot of people. Thanks again, CHEERS! 🍻🍻🍻

Here it goes. Also comes with a little basic text editor implementation.

hanspagel commented 3 years ago

@andrea-kyurchiev Thanks for sharing! πŸ™Œ Keep building cool things!