TinyMCE Reminders

10/28/2014 3:23:23 PM

Reminders for doing the following in TinyMCE

  • Get Content
  • Set Focus
//get content
var body = tinymce.get("id_of_text_area").getContent();

//set focus
tinymce.execCommand('mceFocus',false,'id_of_text_area');