I try to build my own WYSIWYG editor in javascript. Most of the buttons are quite simple (as long as document.execCommand has a commandId).
But how to implement a cod