Ticket #6192: 6192_2.patch
File 6192_2.patch, 783 bytes (added by , 14 years ago) |
---|
-
_source/plugins/wysiwygarea/plugin.js
616 616 editor.focusManager.blur(); 617 617 }); 618 618 619 var wasFocused = 0; 620 619 621 domWindow.on( 'focus', function() 620 622 { 621 623 var doc = editor.document; … … 624 626 blinkCursor(); 625 627 else if ( CKEDITOR.env.opera ) 626 628 doc.getBody().focus(); 629 else if ( CKEDITOR.env.webkit ) 630 { 631 if ( !wasFocused ) 632 { 633 editor.document.getDocumentElement().focus(); 634 wasFocused = 1; 635 } 636 } 627 637 628 638 editor.focusManager.focus(); 629 639 });