Skip to content

Poor pagination / layout when exporting large tables via blocknote-xl-pdf #2009

@HarshavardhanNetha

Description

@HarshavardhanNetha

Describe the bug
Exporting a table with many rows using blocknote-xl-pdf produces a clumsy PDF layout. The plugin tries to squeeze too many rows into one page, causing very tight row spacing, clipping, or rows being broken across pages. The layout becomes unreadable.

To Reproduce

  1. Create a table with ~50-100 rows in Blocknote.
  2. Add several columns so table width is moderate.
  3. Export/download as PDF using blocknote-xl-pdf plugin.
  4. Observe that rows are cramped / page breaks are not inserted cleanly / header is not repeated / some content is cut off.

Expected behavior

  • Table should automatically break across pages when content exceeds one page.
  • Row spacing should remain reasonable.
  • No partial row splitting (unless absolutely necessary).
  • Table headers repeated on subsequent pages.
  • Optionally scale width/height or allow choice of page orientation to help.

Environment

  • Browser & version: All variants
  • OS: macOS
  • Blocknote versions
    "@blocknote/core": "^0.35.0",
    "@blocknote/mantine": "^0.35.0",
    "@blocknote/react": "^0.35.0",
    "@blocknote/shadcn": "^0.35.0",
    "@blocknote/xl-pdf-exporter": "^0.35.0",
  • Node: v22.14.0

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions