title: select all text in contenteditable div when it focus/click
body: <p>I've got contenteditable div as below.</p>
  
  <pre><code>&lt;div style=" border:solid 1px #D31444" contenteditable="true"&gt;12 some text...&lt;/div&gt;
  </code></pre>
  
  <p>What I need is, when I click on the div, all the text will automatically get selected. Can you give me solution please?</p>