I really liked the idea of adding shortcodes, but I wanted a better implementation. First, I thought of a smart way to set up which shortcodes you can see in the editor. […] Secondly, I had to determine what happens when somebody clicks on the shortcode button in the CMS.