Revision: 39063
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 12, 2011 23:55 by tomidle
Initial Code
// Just replace TextToAdd by text or html code tinyMCE.execCommand('mceReplaceContent',false,TextToAdd);
Initial URL
Initial Description
This piece of code allows to insert text into the tinymce textarea when writing a WordPress plugin for instance.
Initial Title
Inserting text in WordPress tinymce
Initial Tags
wordpress
Initial Language
JavaScript