Continue RG content across two groups as a page break

Hi. Fairly new to Bubble. I’m trying to build a kind of document template editor where I’m using a group to simulate a document page. In the “first page” group, the content is contained in a repeating group. I’m trying to get the content from this RG to continue in the next group “2nd page” when it reaches the bottom of the first group’s"page". The challenge is that each cell might have a different amount of content, so the number of cells of the first page could vary. Essentially I’m looking to create a sort of page break.

I’ve tried a variety of things but nothing seems to work the way I want it to.