Opened 13 years ago

Closed 11 years ago

#6106 closed New Feature (invalid)

use page-break-before instead of page-break-after

Reported by: dke01 Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


When I insert a page break in ckEditor it embed the following HTML <div style="page-break-after: always;">

However from CKEditor I want to copy and paste back into MS Word and also call 3rd party tools that convert HTML 2 PDF. However the stlye page-break-after is not reconginised by any of these tools and the page breaks are not retained.

If we replace page-break-after with page-break-before 2 places in ckeditor.js 2 places in plugins\pageBreak.js

This fixes the issue and makes life much easier.

Change History (2)

comment:1 Changed 13 years ago by dke01

Summary: use page-break-before instead of age-break-afteruse page-break-before instead of page-break-after

comment:2 Changed 11 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Both page-break-after and page-break-before are supported in major browsers (,

I think that these tools should rather be adjusted.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy