# PaginationConfig

interface

The configuration of the pagination feature. It is used by the pagination feature from the `@ckeditor/ckeditor5-pagination` package.

```typescript
ClassicEditor
	.create( {
		pagination: {
			// A4
			pageWidth: '21cm',
			pageHeight: '29.7cm',

			pageMargins: {
				top: '20mm',
				bottom: '20mm',
				left: '12mm',
				right: '12mm'
			}
		}
	} )
	.then( ... )
	.catch( ... );
```

**NOTE:** The configuration of the plugin must match the [export to PDF](module_export-pdf_exportpdf-ExportPdfConfig.md) or [export to Word](module_export-word_exportword-ExportWordConfig.md) feature configuration.

See [all editor options](module_core_editor_editorconfig-EditorConfig.md).

<a id="properties">

## Properties

<a id="member-enableOnUnsupportedBrowsers">

### `enableOnUnsupportedBrowsers?: boolean`

The pagination feature is by default enabled only in browsers that are using the Blink engine (Chrome, Chromium, newer Edge, newer Opera). This is due to some existing incompatibilities in Firefox and Safari; we will be working on them in the future.

This behavior can be modified by setting this configuration value to `true`.

Defaults to `false`

<a id="member-pageHeight">

### `pageHeight: string`

The page height.

<a id="member-pageMargins">

### `pageMargins: PaginationMarginsConfig`

The page margins.

<a id="member-pageWidth">

### `pageWidth: string`

The page width.

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
