X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fwysiwygarea%2Fplugin.js;h=0a35305c43db3a2da88523c8c3c1f46d8b752fcf;hp=7e7c1923a659a47d66c21bb6c22005ab9ef4fd22;hb=9873d66421922c7aef8be0f5d2ab51e547b19e66;hpb=e371ddf8abcb89013e20e6d0dd746adec344d0e5 diff --git a/_source/plugins/wysiwygarea/plugin.js b/_source/plugins/wysiwygarea/plugin.js index 7e7c192..0a35305 100644 --- a/_source/plugins/wysiwygarea/plugin.js +++ b/_source/plugins/wysiwygarea/plugin.js @@ -891,7 +891,14 @@ For licensing, see LICENSE.html or http://ckeditor.com/license { if ( isLoadingData ) isPendingFocus = true; - else if ( editor.window ) + // Temporary solution caused by #6025, supposed be unified by #6154. + else if ( CKEDITOR.env.opera && editor.document ) + { + editor.document.getBody().focus(); + + editor.selectionChange(); + } + else if ( !CKEDITOR.env.opera && editor.window ) { editor.window.focus();