A sample WordPress plugin which details adding toolbar buttons to the TinyMCE editor.