Well, load the library somewhere in your shared folder, and then into the controller action do:
$this->view->headScript()->appendFile('/some/path/tiny_mce.js'); $this->view->headScript()->appendFile('/some/path/tiny_mce-init.js');
Where the tiny_mce-init.js file might look something like this:
tinyMCE.init({ theme : "advanced", mode : "textareas", // styles of the WYSIWYG content content_css : "/css/tiny_mce.css", });
This will turn all text fields into WYSIWYG editors.
source share