Sempre che abbia capito
codice:
<div id="tuodiv" onmouseover="this.steAttribute('contenteditable',true)" onmaouseout="this.removeAttribute('contenteditable')">....</div>
attributo html5 supportato dai browser più recenti