Skip to content

Commit bb0ed1c

Browse files
committed
Merge branch 't/11104'
2 parents c018e2d + 599b6a2 commit bb0ed1c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CKEditor 4 Changelog
55

66
Fixed Issues:
77

8+
* [#11104](http://dev.ckeditor.com/ticket/11104): [IE] Fixed: Various issues with scroll and selection focusing widgets.
89
* [#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.
910
* [#8673](http://dev.ckeditor.com/ticket/8673): Fixed: Webkit browsers - cannot select and remove Page Break (pagebreak).
1011
* [#11413](http://dev.ckeditor.com/ticket/11413): Fixed: Wrong execCommand behavior.

core/selection.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@
253253

254254
editor.editable().append( hiddenEl );
255255

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

0 commit comments

Comments
 (0)