Hello, I have a problem with DrupalPageBreak button, it not appear, but DrupalBreak button (teaser) appears on toolbar. I`ve found this problem in 6.x-1.5 version, then I`ve installed 6.x-dev version (2011-Jul-19), but still have the same problem. Both plugins switched on in the CKEditor profile for current role. I`ve tried to debug this issue and found that 'Drupal.settings.ckeditor.pagebreak' variable is undefined in 'if' statement in the line 46 of 'ckeditor\plugins\drupalbreaks\plugin.js' file. If I comment this line and also comment the closing braсket in line 53, DrupalPageBreak button appears on toolbar.

//if ( Drupal.settings.ckeditor.pagebreak ) {
editor.ui.addButton( 'DrupalPageBreak',
label : Drupal.t( 'Insert Page Break' ),
icon : this.path + 'images/drupalpagebreak.png',
command : 'drupalpagebreak'


dczepierga’s picture

Status:Active» Fixed

Really thx for help. Now this "if" is not needed here, but we forget about it.
I commit this fix to GIT, so pls update to last DEV version.


Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gagarine’s picture

Version:6.x-1.x-dev» 7.x-1.x-dev
Status:Closed (fixed)» Active

Get the same issue on D7

laoguxintan’s picture

So do I. In drupal 7.15.

mkesicki’s picture

Guys , please don't change versions to which belongs ticket between 7.x and 6.x.
This is confusing for us and other users.
In such cases , please add new ticket with proper version an link both tickets each other.