Skip to content

Commit

Permalink
Merge branch 't/11822'
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed May 6, 2014
2 parents 90da227 + 15c69ba commit 70a8947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -16,6 +16,7 @@ Fixed Issues:
* [#11814](http://dev.ckeditor.com/ticket/11814): Fixed: _Link_ and _Unlink_ entries persistently displayed in [Enhanced Image](http://ckeditor.com/addon/image2) context menu.
* [#11839](http://dev.ckeditor.com/ticket/11839): Fixed: [IE9] Caret jumps out of editable when resizing editor in source mode.
* [#11880](http://dev.ckeditor.com/ticket/11880): Fixed: [IE8-9] Linked image has a default thick border.
* [#11822](http://dev.ckeditor.com/ticket/11822): Fixed: [Webkit] Anchors editing by double click broken in some cases.

Other changes:

Expand Down
3 changes: 2 additions & 1 deletion plugins/link/plugin.js
Expand Up @@ -105,7 +105,8 @@

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

Expand Down

0 comments on commit 70a8947

Please sign in to comment.