Ticket #5713: 5713.patch
File 5713.patch, 2.9 KB (added by , 14 years ago) |
---|
-
_source/themes/default/theme.js
118 118 ' dir="', editor.lang.dir, '"' + 119 119 ' title="', ( CKEDITOR.env.gecko ? ' ' : '' ), '"' + 120 120 ' lang="', editor.langCode, '"' + 121 ( CKEDITOR.env.webkit? ' tabindex="' + tabIndex + '"' : '' ) + 121 122 ' role="application"' + 122 123 ' aria-labelledby="cke_', name, '_arialbl"' + 123 124 ( style ? ' style="' + style + '"' : '' ) + -
_source/plugins/wysiwygarea/plugin.js
319 319 // for other browers, the 'src' attribute should be left empty to 320 320 // trigger iframe's 'load' event. 321 321 ' src="' + ( CKEDITOR.env.ie ? 'javascript:void(function(){' + encodeURIComponent( srcScript ) + '}())' : '' ) + '"' + 322 ' tabIndex="' + editor.tabIndex+ '"' +322 ' tabIndex="' + ( CKEDITOR.env.webkit? -1 : editor.tabIndex ) + '"' + 323 323 ' allowTransparency="true"' + 324 324 '></iframe>' ); 325 325 … … 495 495 if ( CKEDITOR.env.gecko || CKEDITOR.env.opera ) 496 496 doc.getBody().focus(); 497 497 else if ( CKEDITOR.env.webkit ) 498 { 499 // Selection will get lost after move focus 500 // to document element, save it first. 501 var sel = editor.getSelection(), 502 type = sel.getType(), 503 range = ( type != CKEDITOR.SELECTION_NONE ) && sel.getRanges()[ 0 ]; 504 498 505 doc.getDocumentElement().focus(); 506 range && range.select(); 507 } 499 508 500 509 editor.focusManager.focus(); 501 510 }); -
_source/plugins/editingblock/plugin.js
95 95 // Do that once only. 96 96 event.removeListener(); 97 97 98 // Redirect the focus into editor for webkit. (#5713) 99 CKEDITOR.env.webkit && editor.container.on( 'focus', function() 100 { 101 editor.focus(); 102 }); 103 98 104 if ( editor.config.startupFocus ) 99 105 editor.focus(); 100 106 -
_source/plugins/sourcearea/plugin.js
34 34 textarea.setAttributes( 35 35 { 36 36 dir : 'ltr', 37 tabIndex : editor.tabIndex,37 tabIndex : CKEDITOR.env.webkit ? -1 : editor.tabIndex, 38 38 'role' : 'textbox', 39 39 'aria-label' : editor.lang.editorTitle.replace( '%1', editor.name ) 40 40 });