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

✨Export pdf / docx front side #537

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

AntoLC
Copy link
Collaborator

@AntoLC AntoLC commented Jan 6, 2025

Purpose

We have added the export to pdf and docx feature to the front side.
Thanks to that, the images are now correctly exported even when the doc is private.
To be able to export the doc, the data must be in Blocknote format, for legacy purpose, we have to convert the template to Blocknote format before exporting it.

close #202

Proposal

  • ✨(frontend) export pdf docx front side
  • 🔥(backend) remove code related to export pdf docx

Demo

scrnli_072OH9VH48IDJQ.webm

We have added the export to pdf and docx feature
to the front side. Thanks to that, the images are now
correctly exported even when the doc is private.
To be able to export the doc, the data must be
in blocknote format, for legacy purpose, we have
to convert the template to blocknote format before
exporting it.
@AntoLC AntoLC force-pushed the feature/export-front-side branch from a5a72eb to 7dad46f Compare January 6, 2025 16:01
@AntoLC AntoLC linked an issue Jan 6, 2025 that may be closed by this pull request
AntoLC added 2 commits January 6, 2025 17:14
The export is managed by the frontend, so we
don't need the code related to the export
in the backend side anymore.
Add some changelog entries that can be useful to
display in the release notes.
@AntoLC AntoLC force-pushed the feature/export-front-side branch from 7dad46f to c3db0f5 Compare January 6, 2025 16:14
@AntoLC AntoLC marked this pull request as ready for review January 6, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adapt export to new BlockNote.js version 🐛🛂 Image uploaded not accessible from export resources
1 participant