Stand with Ukraine πŸ‡ΊπŸ‡¦
Products
Services
Blog
About Us

Page Break β€” Confluence Cloud Macro

Video preview (WebM) is currently unavailable

Page Break - Insert a page break in documents generated from a Confluence page - Preview 2
Page Break - Insert a page break in documents generated from a Confluence page - Preview 3
formatting

This Confluence Cloud macro creates a page-break element used for print and PDF export scenarios while preventing unnecessary space during macro preview rendering. It detects the current render output type using $renderContext.outputType and, when running in preview mode, hides the page-break container, removes margins and dimensions, collapses the iframe body to zero height, and calls AP.resize() to eliminate blank space and avoid significant layout gaps in the editor preview.

Try for free