Opened 11 years ago

Closed 9 years ago

#6950 closed New Feature (wontfix)

Dialog for page-break-inside:avoid; in Tables

Reported by: Maic Stohr Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: 3.5
Keywords: Cc:


We use to prepare CKEditor to prepare printable HTML documents. When we include longer tables with different table row size, it's very often our users want to make sure that one row or the full table are not split between two pages.

It would be great to have an option in the table properties to prevent page break, e.g. a checkbox that sets the CSS page-break-inside:avoid. Similarly, a dialog in the table row is required.

Change History (1)

comment:1 Changed 9 years ago by Jakub Ś

Resolution: wontfix
Status: newclosed

Such rule can be added to styles advanced tab without modifying core plugins (tested on CKE 4.0.2):

CKEDITOR.on( 'dialogDefinition', function( ev )
	var dialogName =;
	var dialogDefinition =;
	if ( dialogName == 'table' )
		var advTab = dialogDefinition.getContents( 'advanced' );							
		var advStyles = advTab.get( 'advStyles' );
		advStyles.default = 'page-break-inside:avoid;';
Note: See TracTickets for help on using tickets.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy