Dlaczego document.execCommand nie działa, gdy klikam div?

Zarówno przycisk, jak i div mają ten sam kod „onclick”, ale execCommand wydaje się działać tylko na przycisku. Czy jest jakiś sposób, w jaki mogę sprawić, by działało po naciśnięciu div?

Oto moje skrzypce:http://jsfiddle.net/foreyez/ZzL8y/

<button onclick="document.execCommand('bold',false,null);">Bold</button>
<div onclick="document.execCommand('bold',false,null);" style='border:1px solid black;width:50px;'>Bold</div>

<div id='input' contenteditable='true'>
    select some of this text and then hit one of the buttons above
</div>

questionAnswers(3)

yourAnswerToTheQuestion