Guys, I spend the greater part of this day coding, refactoring and unit testing - and found it to be very enjoyable! Maybe that's because I've been dealing with a lot of DevOps stuff at work and hardly wrote any PHP code lately
Anyway, I created an almost completely reworked version of the typesetbuttons
plugin that should work with both versions < 2.0 and the current beta. If you want to test it, make sure to install the very latest version from GitHub! I chatted with Matthias (yellowled), and he had to make some changes to the backend editor so that everything works as expected.
If you use this plugin (Dirk, I'm looking at you), please be so kind and test if everything works ok (on a test installation, of course). If possible, test it with s9y 1.7.* or older, too. I wrote unit tests first to ensure that nothing breaks backwards compatibility, but the original code was so ... peculiar that I can't guarantee anything
I uploaded version 0.20 of serendipity_event_typesetbuttons
to my Dropbox
and will leave it there for a while.