protected function _prepareLayout() { parent::_prepareLayout(); if (Mage::getSingleton('cms/wysiwyg_config')->isEnabled()) { if ($headBlock = $this->getLayout()->getBlock('head')) { $headBlock->setCanLoadTinyMce(true); } } }