motla / vue-document-editor

:page_facing_up: Paper-sized WYSIWYG document editor for Vue apps
https://motla.github.io/vue-document-editor/
MIT License
313 stars 70 forks source link

Table Page Break #28

Closed amaliaka closed 1 year ago

amaliaka commented 1 year ago

I found a problem when I use a table element where the content within a second or subsequent column exceeds the height of the previous column within the same row, it may lead to irregular formatting due to page breaks. image

motla commented 1 year ago

Hi @amaliaka Thanks for your bug report. I just released v2.3.0 (Vue3) and v1.5.0 (Vue2) which should workaround your issue. Now table rows don't split over multiple pages, they just move to the next page if one of its cells make it overflow. Unfortunately, it is too complicated to code a behavior similar to Microsoft Word (where a row can split over multiple pages) with this implementation... I hope it will fit your needs.