Ticket #4354: 4354.patch
File 4354.patch, 2.8 KB (added by , 15 years ago) |
---|
-
_source/plugins/toolbar/plugin.js
59 59 { 60 60 var itemKeystroke = function( item, keystroke ) 61 61 { 62 function isDisabled( item ) 63 { 64 return item.id && CKEDITOR.document.getById( item.id ).hasClass( 'cke_disabled' ); 65 } 62 66 switch ( keystroke ) 63 67 { 64 68 case 39 : // RIGHT-ARROW 65 69 case 9 : // TAB 66 70 // Look for the next item in the toolbar. 67 while ( ( item = item.next || ( item.toolbar.next && item.toolbar.next.items[ 0 ] ) ) && !item.focus ) 71 // Jump to next toolbar if this one finishes. 72 // Skip non-focusable items (eg separators) and disabled ones also. 73 while ( ( item = item.next || ( item.toolbar.next && item.toolbar.next.items[ 0 ] ) ) && ( !item.focus || isDisabled( item ) ) ) 68 74 { /*jsl:pass*/ } 69 75 70 76 // If available, just focus it, otherwise focus the … … 79 85 case 37 : // LEFT-ARROW 80 86 case CKEDITOR.SHIFT + 9 : // SHIFT + TAB 81 87 // Look for the previous item in the toolbar. 82 while ( ( item = item.previous || ( item.toolbar.previous && item.toolbar.previous.items[ item.toolbar.previous.items.length - 1 ] ) ) && !item.focus ) 88 // Jump to previous toolbar if this one finishes. 89 // Skip non-focusable items (eg separators) and disabled ones also. 90 while ( ( item = item.previous || ( item.toolbar.previous && item.toolbar.previous.items[ item.toolbar.previous.items.length - 1 ] ) ) && ( !item.focus || isDisabled( item ) ) ) 83 91 { /*jsl:pass*/ } 84 92 85 93 // If available, just focus it, otherwise focus the -
CHANGES.html
48 48 <li><a href="http://dev.fckeditor.net/ticket/3528">#3528</a> : Fixed Context Menu issue when triggered using Shift+F10.</li> 49 49 <li><a href="http://dev.fckeditor.net/ticket/4028">#4028</a> : Maximize control's tool tip was wrong once it is maximized.</li> 50 50 <li><a href="http://dev.fckeditor.net/ticket/4237">#4237</a> : ToolBar is chopped off in Safari browser 3.x.</li> 51 <li><a href="http://dev.fckeditor.net/ticket/4269">#4269</a> : "Esc" and "Enter" keystrokes were not handled when a dialogue box is opened which causes the form post automatically.</li> 51 <li><a href="http://dev.fckeditor.net/ticket/4269">#4269</a> : "Esc" and "Enter" keystrokes were not handled when a dialogue box is opened which causes the form post automatically.</li> 52 <li><a href="http://dev.fckeditor.net/ticket/4354">#4354</a> : Fixed TAB key on toolbar to not focus disabled buttons.</li> 52 53 </ul> 53 54 <h3> 54 55 CKEditor 3.0</h3>