« See all

How to create ready-to-print documents with page structure in WYSIWYG editor - CKEditor 5 pagination feature

Barely having released the premium features of export to PDF and export to Word, we still keep on improving and expanding the capabilities of the CKEditor 5 WYSIWYG editor. If you are done writing, editing and collaborating on your content, the time has come to convert it into one of the popular document formats. But can you be sure your multipage document will save and later print the way you want it? We are now introducing the pagination feature that takes care of just this question!

Pagination feature in the CKEditor 5 WYSIWYG editor.
Pagination feature in the CKEditor 5 WYSIWYG editor.

# Simple pagination in a WYSIWYG editor

The feature is amazing in its simplicity. What it does is making sure the page breaks in the final file will be placed exactly as shown on-screen. This is calculated using intelligent algorithms, allowing to better cope with images and tables (for example, the feature avoids breaking table cells). It also respects user-made page breaks inserted manually with the page break feature.

Furthermore, CKEditor 5 pagination introduces dedicated document navigation toolbar buttons that allow you to easily go to the next or previous page or move straight to a selected page.

In addition to this, it shows you the total page count and displays a graphic representation of the page breaks within the content, accompanied by page numbers. This makes working with paged content more intuitive and provides an immediate preview of the document’s final outcome. This, in turn, supports planning the document structure and aids the editing process.

Pagination navigation buttons in the CKEditor 5 WYSIWYG editor toolbar.
Pagination navigation buttons in the CKEditor 5 WYSIWYG editor toolbar.

If you plan to store your content in document files or intend to print it, this is an absolute must-have solution to improve your document workflow.

Try the demo!

# Create document templates with CKEditor 5

When developing our products, we work closely with our customers and community and try to respond to their needs. Coupled with restricted editing, for example, the features created recently for CKEditor 5, such as pagination and export to PDF or Word, can easily be used to create document templates with a clear, unchangeable, predictable structure and page divisions that will look exactly the same when printed or exported.

Imagine that you need to create a template for a document with a predefined structure, with some editable fields that the end-user is supposed to fill. You define it in your WYSIWYG editor, divide the document into pages as appropriate, restrict editing to selected fields, and make it available to the user. Thanks to the pagination feature it will be clear where the page breaks will be and the document instructions can direct the user to selected page numbers. After the document is filled, it can be exported to PDF or printed to sign-off — and the final structure will be exactly the same as the user sees it on the screen.

Using the restricted editing feature to create a document template with a predefined page structure.
Using the restricted editing feature to create a document template with a predefined page structure.

# Pagination feature availability

At the moment, the pagination feature is available for the CKEditor 5 WYSIWYG editor only. As it is a premium feature, it is not included in any of the builds and needs to be installed and configured. Please refer to the CKEditor 5 pagination documentation to find out more about the feature and learn how to properly set it up.

# Try the pagination feature in your application

Like our other premium features, real-time collaboration or the export to PDF and Word features, pagination is also available for hassle-free testing.

We offer a commitment-free CKEditor Premium Features 30-day free trial that also includes other great features to test like track changes and comments. Just sign up for the trial, with no credit card needed, and start using it right away! Test, learn, delve into the end-user and developer guides to get the most out of the software for best results.

# Share your feedback

We are excited about both CKEditor 5 pagination and the recently introduced export to PDF and Word features. We are curious to hear what you think and would love to read some feedback after you try it out. Do not hesitate to reach out and share your thoughts with us! Since this is a premium feature that requires a commercial license to use, contact us for a custom-tailored offer to best suit your needs.

Share this post

Linkedin Reddit
CKEditor 5 v23.0.0 with pagination feature, list styles and improved image upload
The best way to export your WYSIWYG editor content to PDF and Word file formats