title: Javascript - How to toggle an element in contenteditable as execCommand?
body: <p>I want to toggle <strong>B</strong> tag if selected:</p>
  
  <pre><code>&lt;div contenteditable="true"&gt;
  &lt;p&gt;&lt;b&gt;Zeffer !&lt;/b&gt;&lt;/p&gt;
  &lt;/div&gt;
  &lt;button id="bold"&gt;Bold&lt;/button&gt;
  </code></pre>