KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have these two lines of code one after another. tinymce.execCommand('mceAddControl',true,'email_body'); tinyMCE.activeEditor.setContent(data.tplCustom.htmltemplate); Second line tries to set content even before the tinymce is done . I think cause of that I am getting " tinyMCE.activeEditor is null" error. Is there any way to wait until its loaded ? Thanks
Tags (comma-separated)
Save Edits
Cancel