A new text editor with pagination

Hello, would you mind sharing more details about your solution? Is your code available anywhere?

1 Like

@IgorMadeira Any chances we can get any information on if you are planning to open source your solution, and if so, when you’d think you can help us all with your work? Thanks!

1 Like

I’ve been working hard to implement pagination with ProseMirror. Everything works fine—except for tables. When a table’s height exceeds the page limit, the layout breaks completely. I’ve experienced the same issue even with Badon. Other nodes using display: contents render correctly across page breaks, even when they span multiple pages. But tables remain a persistent problem. If anyone has a solution for this, I’d really appreciate your help.

1 Like

That’s really great. Similarly, I also found another product that implements paginated documents based on ProseMirror: Synology’s Docs suite.

You can review this demo, Table will split between pages

I’ve tried it and it’s fantastic! Editing a 400-page test report (with headers, footers, numerous tables, and various types of content) is extremely smooth, and the pagination is precise (even with table rows that span across pages). This is exactly what I had in mind! Thanks for sharing! Has Synology ever shared any technical insights, published blog posts, or open-sourced their projects? Let’s dive into some research!

Hey guys!

I created a blog + released open source for an editor we built at my company where we put an emphasis on accurate docx export Building a Paginated Editor with Accurate DOCX Export

Hope this helps anyone else that is working on something similar :sweat_smile:

Wonderful blog post. Thanks for sharing!

Hey everyone, I have also been working on (and completely solved) a pagination solution, but specifically for the screenwriting world, which has a ton of specialized page-breaking rules, with widow/orphan controls and paragraph types that must be kept together across pages. I am looking to expand my team with some PM experts, and would be happy to share my current editor with anyone who has an interest in the moviemaking world with PM expertise.

Ben Cahan

Hi, do you have a plan to implement page break support? Like Word/Writer’s Ctrl + Enter. To keep, for example, a header always on a new page? Is it technically possible in your approach?