Bug
CKEDITOR.instances[instance_name].focus()
Does the issue occur without the open console? Console seems to steal focus, but without it everything works correctly. I could place the cursor inside the editor with following steps:
javascript
setTimeout( CKEDITOR.instances[ instanceName ].focus.bind( CKEDITOR.instances.editor ), 5000 );
In such scenario focus is moved correctly into the editor.
Yes, this way the cursor focuses on the Editor.
setTimeout( CKEDITOR.instances["instance_name"].focus.bind( CKEDITOR.instances. instance_name),5000);
Is there a way to do it without setTimeout ?
Unfortunately no. We can't steer the focus in any sensible way, when console is opened and focused.
I'm closing this issue as it can't be fixed on our side and it's clearly connected with the behaviour of browser's console.