title: How to set focus on rich-text-field, in edit-mode of a contenttype?
body: <p>I'd like to initially set the focus onto the text-field of an item when editing it, but cannot overcome TinymMCE'S iframe kickin' in. When disableling TinyMCE, everything works as expected, the text-field is focusable. I tried simulating a click in TinyMCE's body-element, no luck either. Is it possible at all, to focus the body-field via JS?</p>
  
  <p>This is what I tried so far:</p>
  
  <pre><code>(function($) {
  
      $(document).ready(function() {
  
          $('#text').focus()          // Only works, when TinyMCE is disabled.
  
          $('body#content').click() // Cannot click into TinyMCE's body.
  
          $('#text_bold').click() // Cannot even click one of the editor's buttons.
  
          setTimeout(function() {
                              // Tried same as above with time-delay, no luck.
          }, 277);
      });
  
      $(window).load(function() {
                        // Tried the same as in doc.ready, no luck.
      });
  
  })(jQuery);
  </code></pre>