X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=_source%2Fplugins%2Feditingblock%2Fplugin.js;h=d0bbde85b7398778c3f381a3e04edc2002967d90;hb=f8fc585c18d287eb325c575596d183122486b641;hp=8d54142d5992aa49601386bd3db510474b648300;hpb=8665a7c6c60586526e32e8941fe2896739b6ebfb;p=ckeditor.git diff --git a/_source/plugins/editingblock/plugin.js b/_source/plugins/editingblock/plugin.js index 8d54142..d0bbde8 100644 --- a/_source/plugins/editingblock/plugin.js +++ b/_source/plugins/editingblock/plugin.js @@ -95,6 +95,12 @@ For licensing, see LICENSE.html or http://ckeditor.com/license // Do that once only. event.removeListener(); + // Redirect the focus into editor for webkit. (#5713) + CKEDITOR.env.webkit && editor.container.on( 'focus', function() + { + editor.focus(); + }); + if ( editor.config.startupFocus ) editor.focus();