A plugin for embedding TinyMCE via unobtrusive jQuery.
jquery-tinymce.js (893 bytes)
Dual licensed under the MIT and GPL licenses.
Add TinyMCE to textareas or an element using:
$('textarea').tinymce();
Or specify plugins and themes too:
$('.advanced').tinymce({theme:'advanced',plugins:'contextmenu,save,print'});
Toggle one or many TinyMCE instances using:
$('.editors').tinymce('toggle');
Or remove instances entirely using:
$('.editors').tinymce('remove');
You can swap an active editor's skin too:
$('.simple').tinymce({theme:'advanced',plugins:'contextmenu,save,print'});
TinyMCE recently released a special jQuery version of TinyMCE which reduces the script size and includes its own TinyMCE jQuery plugin.
© 2009 Mktg Dept