I have spent the day trying to get TinyMce to work and found some more things that may be of intrest.
An event like onShow would also help in the base system, Mainly for the view dialog as there is no hooks that I could find to modify the data that is shown.
Using the method outlined in the previous post I added an onShow event after the viewModal() functions are called. This was helpful so I could run jquery on elements in the view dialog.
A major issue I found is, that the view and edit dialog boxes are two seperate dialog instances but they have duplicate id values on the data. This creates havoc when you are looking for a form element by id and receive a td element because you viewed the data before editing the data.
However I added to this line in the view code (around line 870:grid.fomedit.js):
$(”td:eq(”+(cp-1)+”)”,trdata[0]).append(””+tmp+””).attr(”id”, 'v_' + nm);
Unfortunatly this stops the elements updating when using the next and previous buttons.
So adding the following into fillData() makes it work: