Find out what's new in Tiptap Editor 3.0

Page format

The pageFormat option controls the size and margins of each page in your document. This helps your content look consistent and professional, especially when printing or exporting.

Available formats

NameDimensions (cm)Dimensions (px @ 96dpi)Margins (cm: top, right, bottom, left)
A421.0 × 29.7794 × 11232.5, 2.0, 2.5, 2.0
A329.7 × 42.01123 × 15872.5, 2.0, 2.5, 2.0
A514.8 × 21.0559 × 7942.0, 1.5, 2.0, 1.5
Letter21.59 × 27.94816 × 10632.54, 2.54, 2.54, 2.54
Legal21.59 × 35.56816 × 13462.54, 2.54, 2.54, 2.54
Tabloid27.94 × 43.181063 × 16342.54, 2.54, 2.54, 2.54

Each format comes with sensible default margins and sizes. These are not user-configurable yet.

How to set the page format

Pages.configure({
  pageFormat: 'Letter',
})

Limitations

Custom page sizes and margins are not yet supported. Only the built-in formats are available.