You should use the command mceInsertContent.
See the TinyMCE documentation.
tinymce.activeEditor.execCommand('mceInsertContent', false, "some text");
You should use the command mceInsertContent.
See the TinyMCE documentation.
tinymce.activeEditor.execCommand('mceInsertContent', false, "some text");