Blank Page Added Before "Text Editor" Content in Print View When Using Jinja

It’s likely caused by page breaks or extra spaces in the layout. To fix it, check if there’s any CSS code that forces a page break, like page-break-before, and remove it. Also, make sure the content doesn’t have too much margin or padding and that no extra containers are pushing it to a new page. Use CSS to prevent automatic page breaks and ensure everything fits smoothly on the same page.

Share your sample code.