+ // Everything should happen after the document is loaded (#4073).\r
+ editor.on( 'contentDom', function( evt )\r
+ {\r
+ evt.removeListener();\r
+ dialog.hide();\r
+\r
+ // Place the cursor at the first editable place.\r
+ var range = new CKEDITOR.dom.range( editor.document );\r
+ range.moveToElementEditStart( editor.document.getBody() );\r
+ range.select( true );\r
+ } );\r