Ticket #6106 (closed New Feature: invalid)

Opened 4 years ago

Last modified 2 years ago

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

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

Description

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

comment:1 Changed 4 years ago by dke01

  • Summary changed from use page-break-before instead of age-break-after to use page-break-before instead of page-break-after

comment:2 Changed 2 years ago by j.swiderski

  • Status changed from new to closed
  • Resolution set to invalid

Both page-break-after and page-break-before are supported in major browsers ( http://www.w3schools.com/cssref/pr_print_pageba.asp, http://www.w3schools.com/cssref/pr_print_pagebb.asp).

I think that these tools should rather be adjusted.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy