title: Set focus on div contenteditable element
body: <p>I have a <code>&lt;div contenteditable=true&gt;</code> where I define by a WYSIWYG some elements. For example <code>&lt;p&gt;</code>,<code>&lt;h1&gt;</code>, etc.  I would like to directly put the focus on one of these elements.</p>
  <p>For example on <code>&lt;p id=&quot;p_test&quot;&gt;</code>. But it seems that <code>focus()</code> function doesn't work on <code>&lt;div&gt;</code> elements, <code>&lt;p&gt;</code> elements...</p>
  <p>Is there another means to define the focus in my case?</p>