BoostIO / BoostNote-Legacy

This repository is outdated and new Boost Note app is available! We've launched a new Boost Note app which supports real-time collaborative writing. https://github.com/BoostIO/BoostNote-App
Other
17.07k stars 1.47k forks source link

No line wrap in tables during PDF export #3644

Open ghost opened 3 years ago

ghost commented 3 years ago

Current behavior

Wide tables, exported as PDF, are truncated rather than being resized to fit the PDF width.

Therefore I'm missing columns.

Expected behavior

The table should be dynamically resized to the PDF page width.

Steps to reproduce

Create a very wide table then export as PDF:

| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| a very wide........abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqrstuvwxyz1234567890....         |          |     table     |

Environment

oyeyipo commented 3 years ago

hey @Flexo013, boostnote user here. I would like to get my hands on this, if available.

Flexo013 commented 3 years ago

Looking forward to a PR for this! 😄