Again this is big a misunderstanding of my changes and intentions - I am NOT breaking YOUR math plugins, I am just making sure the current tinymce dragmath plugin works reasonably well in standard installation - that is all, it is not going to support anything else except tex output format and will be linked to tex filter settings.
I understand it is not what everybody wants, I am not arguing that at all. Hacking standard dragmath plugin is not a proper solution imo, instead I want to make both editors but also tinymce plugins completely configurable/pluggable with no ugly hardcoded hacks.
If you need/want to change anything there you will have two options:
1/ creatate lib/editor/mceadvanced/ brand new editor integration - partly possible now, but not finished
2/ add newlib/editr/tinymce plugins - I will continue talking about this option only, this is not implemented yet at all, until now I was refactoring the code in order to make this possible
There should be configuration options and user preferences for each tinymce plugin, I think in order to simplify UI we will need to create some kind of "editor setups" which list enabled plugins and then users will be able to select them in their preferences. It should be also possible to switch those "setups" on-the-fly. The user editor preferences should define preferred editor for each text format - each user would be able to choose from unlimited list of plugins for each format. Of course the core will have only really basic set of editors - tinymce, some wiki editor and plain textarea.
Going back to Mark's request, I would recommend adding new dragmathadvanced tinymce plugin into contrib, then anybody wishing to use it may simple install it and configure it enabled and standard dragmath disabled. Or they can create to "editor setups" one with standard, the other with advanced dragmath.
I did not emphasise it much yet, but since some weeks aga there is a new possibility to add plugins into /local/ directly, this may allow the tinymce plugins to have own capabilities and even database tables :-O you simply put the tinymce interation hooks into lib/editor/tinymce/plugins/advdragmath and the rest (capabilities, tables, admin settings, user preferences) into /local/advdragmath/
I suppose Manuo understands my intentions completely.
Mark please stop blaming me I am breaking your toys and instead think a bit more about this more modular editor design please 
note: handling of text filter changed significantly in HEAD recently