In addition to strong and em, my site uses i and b tags. I need ot create these in CKeditor, alongside the existing strong and em buttons.
However, I want my buttons to handle just like the strong and em ones. You can either select some text and click it, which wraps the text in the tags, or you can click it, start typing and then unclick it, or, you can focus on some text which is already wrapped, in which case the button depresses itself, and then if you click it again, it removes the formatting.
If I could find even one plugin that uses this kind of functionality, I could tailor it to fit my needs. Does anyone have any ideas?