skeleton/public/javascripts/lib/cleditor/jquery.cleditor.js
function focus(editor) {
    setTimeout(function() {
      if (sourceMode(editor)) editor.$area.focus();
      else editor.$frame[0].contentWindow.focus();
      refreshButtons(editor);
    }, 0);
  }
function focus(editor) {
    setTimeout(function() {
      if (sourceMode(editor)) editor.$area.focus();
      else editor.$frame[0].contentWindow.focus();
      refreshButtons(editor);
    }, 0);
  }
function focus ( editor ) { setTimeout ( function ( ) { if ( sourceMode ( editor ) ) editor . $area . focus ( ) ; else editor . $frame [ 0 ] . contentWindow . focus ( ) ; refreshButtons ( editor ) ; } , 0 ) ; }
focus - sets focus to either the textarea or iframe
focus - sets focus to either the textarea or iframe