Ajax File Upload Monitored
This is cool but complicated...sort of... too many cool things could be done with this.
http://blogs.missiondata.com/?p=28
This is cool but complicated...sort of... too many cool things could be done with this.
Ok so I think I figured out a way to override the popup windows in tinyMCE.
openWindow
void openWindow(template, args)
Opens a popup window based in the specified input data. This function is used for all popup windows in TinyMCE. These are the current template TinyMCE_Engine.prototype.keys = file; width, height, close_previous.
Parameters:
template - Popup template data such as with, height etc.
args - Popup arguments that is to be passed to the popup such as custom data.
So I was stumped on this one for a while:
my_html_content = 'Hi!
';
tinyMCE.getInstanceById(id_of_the_parent_textarea).contentDocument.body.innerHTML = my_html_content;