tinyMCE with popup dialog

Permalink
Hey all,

I have a dashboard page where I have some hidden content in a div. I have an onlick button that I want to bring up the dialog with a WYSIWYG editor containing the content from the hidden div.

But the WYSIWYG is not initializing correctly. It looks fine, but it's just not working.

The content does not show and the image picker dialog comes up, but will not allow the data to pass.

if I comment out the editor_config.php include, the content is in fact being passed to the dialog, But it's just not initializing into the editor.

Any help would be greatly appreciated. DOM work is not my forte.

Thanks

Chad

RadiantWeb
 
rsmitty replied on at Permalink Reply
rsmitty
Hello! I am having the same problem. Were you able to fix the problem? If so, how?

Rachel
rsmitty replied on at Permalink Reply
rsmitty
I figured it out! I was calling the TinyMCE javascript code on load. I changed it so that it was called in the same function that opens the dialog window and POOF it worked.
adavis replied on at Permalink Reply
adavis
Hooray!