Skip to content

Commit 70a8947

Browse files
committed
Merge branch 't/11822'
2 parents 90da227 + 15c69ba commit 70a8947

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
@@ -16,6 +16,7 @@ Fixed Issues:
1616
* [#11814](http://dev.ckeditor.com/ticket/11814): Fixed: _Link_ and _Unlink_ entries persistently displayed in [Enhanced Image](http://ckeditor.com/addon/image2) context menu.
1717
* [#11839](http://dev.ckeditor.com/ticket/11839): Fixed: [IE9] Caret jumps out of editable when resizing editor in source mode.
1818
* [#11880](http://dev.ckeditor.com/ticket/11880): Fixed: [IE8-9] Linked image has a default thick border.
19+
* [#11822](http://dev.ckeditor.com/ticket/11822): Fixed: [Webkit] Anchors editing by double click broken in some cases.
1920

2021
Other changes:
2122

plugins/link/plugin.js

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

106106
// If event was cancelled, link passed in event data will not be selected.
107107
editor.on( 'doubleclick', function( evt ) {
108-
if ( evt.data.dialog == 'link' && evt.data.link )
108+
// Make sure both links and anchors are selected (#11822).
109+
if ( evt.data.link )
109110
editor.getSelection().selectElement( evt.data.link );
110111
}, null, null, 20 );
111112

0 commit comments

Comments
 (0)