Skip to content
Permalink
Browse files

Merge branch 't/11125c'

  • Loading branch information...
fredck committed Dec 4, 2013
2 parents 35c31bc + ca0cdb2 commit 6378c8726414dd2c0a53dd39cf0dc83f9c95ede6
Showing with 20 additions and 1 deletion.
  1. +1 −0 CHANGES.md
  2. +19 −1 plugins/panel/plugin.js
@@ -27,6 +27,7 @@ Fixed Issues:
* [#10055](http://dev.ckeditor.com/ticket/10055): [IE8-10] Fixed: *Delete* pressed on selected image causes browser to go back.
* [#11183](http://dev.ckeditor.com/ticket/11183): Fixed: Inserting line or table in multiple rows selection causes browser crash. Additionally, the [`editor.insertElement`](http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-insertElement) method does not insert element into every range of a selection any more.
* [#11042](http://dev.ckeditor.com/ticket/11042): Fixed: Selection made on element containing non-editable element was not auto faked.
* [#11042](http://dev.ckeditor.com/ticket/11125): Fixed: Keyboard navigation through menu and combo items will now cycle.


## CKEditor 4.3
@@ -320,7 +320,7 @@
this.element.setStyle( 'display', 'none' );
},

onKeyDown: function( keystroke ) {
onKeyDown: function( keystroke, noCycle ) {
var keyAction = this.keys[ keystroke ];
switch ( keyAction ) {
// Move forward.
@@ -339,6 +339,13 @@
break;
}
}

// If no link was found, cycle and restart from the top. (#11125)
if ( !link && !noCycle ) {
this._.focusIndex = -1;
return this.onKeyDown( keystroke, 1 );
}

return false;

// Move backward.
@@ -355,7 +362,18 @@
link.focus();
break;
}

// Make sure link is null when the loop ends and nothing was
// found (#11125).
link = null;
}

// If no link was found, cycle and restart from the bottom. (#11125)
if ( !link && !noCycle ) {
this._.focusIndex = links.count();
return this.onKeyDown( keystroke, 1 );
}

return false;

case 'click':

0 comments on commit 6378c87

Please sign in to comment.
You can’t perform that action at this time.