Skip to content

Commit

Permalink
Merge branch 't/8673'
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewand committed Feb 17, 2014
2 parents 9c7de16 + 478aa10 commit 1eb5d94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -5,6 +5,7 @@ CKEditor 4 Changelog

Fixed Issues:

* [#8673](http://dev.ckeditor.com/ticket/8673): Fixed: Chrome - cannot select and remove Page Break (pagebreak).
* [#11413](http://dev.ckeditor.com/ticket/11413): Fixed: Wrong execCommand behavior.
* [#11438](http://dev.ckeditor.com/ticket/11438): Splitting table cells vertically is no longer chnaging table structure.
* [#8899](http://dev.ckeditor.com/ticket/8899): Fixed: Links in About Dialog now open in new window/tab.
Expand Down
6 changes: 3 additions & 3 deletions plugins/pagebreak/plugin.js
@@ -1,4 +1,4 @@
/**
/**
* @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
Expand Down Expand Up @@ -46,8 +46,8 @@
toolbar: 'insert,70'
} );

// Opera needs help to select the page-break.
CKEDITOR.env.opera && editor.on( 'contentDom', function() {
// Opera and Chrome needs help to select the page-break.
( CKEDITOR.env.opera || CKEDITOR.env.chrome ) && editor.on( 'contentDom', function() {
editor.document.on( 'click', function( evt ) {
var target = evt.data.getTarget();
if ( target.is( 'div' ) && target.hasClass( 'cke_pagebreak' ) )
Expand Down

0 comments on commit 1eb5d94

Please sign in to comment.