A lightly sweetened api for document.execCommand in contentEditables.