Skip to content

Commit

Permalink
Merge branch 't/11104'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Feb 17, 2014
2 parents c018e2d + 599b6a2 commit bb0ed1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ CKEditor 4 Changelog

Fixed Issues:

* [#11104](http://dev.ckeditor.com/ticket/11104): [IE] Fixed: Various issues with scroll and selection focusing widgets.
* [#11487](http://dev.ckeditor.com/ticket/11487): Moving mouse over [Enhanced Image](http://ckeditor.com/addon/image2) widget will no longer change value returned by [`Editor.checkDirty`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-checkDirty) method.
* [#8673](http://dev.ckeditor.com/ticket/8673): Fixed: Webkit browsers - cannot select and remove Page Break (pagebreak).
* [#11413](http://dev.ckeditor.com/ticket/11413): Fixed: Wrong execCommand behavior.
Expand Down
3 changes: 2 additions & 1 deletion core/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@

editor.editable().append( hiddenEl );

var sel = editor.getSelection(),
// Always use real selection to avoid overriding locked one (http://dev.ckeditor.com/ticket/11104#comment:13).
var sel = editor.getSelection( 1 ),
range = editor.createRange(),
// Cancel selectionchange fired by selectRanges - prevent from firing selectionChange.
listener = sel.root.on( 'selectionchange', function( evt ) {
Expand Down

0 comments on commit bb0ed1c

Please sign in to comment.