You will need to include the wysiwyg javascript files.

I think the lines of code you need are.

&lt;script type="text/javascript" src="&lt;?php echo $this-&gt;getJsUrl() ?&gt;tiny_mce/tiny_mce.js"&gt;&lt;/script&gt;


And

&lt;action method="addItem"&gt;&lt;type&gt;js&lt;/type&gt;&lt;name&gt;mage/adminhtml/wysiwyg/tiny_mce/setup.js&lt;/name&gt;&lt;params/&gt;&lt;if/&gt;&lt;condition&gt;can_load_tiny_mce&lt;/condition&gt;&lt;/action&gt;


These should be set by default on normal adminhtml pages as long as you turn on the editor. To do this you can add the following to your block class in the _prepareLayout function.

$this-&gt;getLayout()-&gt;getBlock('head')-&gt;setCanLoadTinyMce(true);


WYSIWYG TinyMCE Editor Integration
I'm looking for php code that will allow me to do the following: when new post publish in categories which ids are 12 and 34, email will send to all users.
