From 881ae7f96c8d137de8493c649b3cb4a084dab690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Reinmar=20Koszuli=C5=84ski?= Date: Mon, 10 Feb 2014 14:44:32 +0100 Subject: [PATCH 1/2] Hide selection using real selection to avoid overriding locked one. --- core/selection.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/selection.js b/core/selection.js index 308f12f4ba5..20dbc69ce9f 100644 --- a/core/selection.js +++ b/core/selection.js @@ -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 ) { From 599b6a2670ec654f12bfdfa8e5cdae13dc021937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Reinmar=20Koszuli=C5=84ski?= Date: Mon, 17 Feb 2014 15:09:25 +0100 Subject: [PATCH 2/2] Changelog entry. --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index b0c0728365c..adcf4ae0c3b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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.