Posts Tagged ‘wysiwyg editor’

wysiwyg editor Magento Custom Module Step 1 – Go to app/code/local/Webkul/Faq/Block here webkul is namespace and faq is module name , under your _prepareLayout() function add this code public function _prepareLayout() { if (Mage::getSingleton(‘cms/wysiwyg_config’)->isEnabled() && ($block = $this->getLayout()->getBlock(‘head’))) { $block->setCanLoadTinyMce(true); } return parent::_prepareLayout(); } Then go to app/code/local/Webkul/Faq/Block/Adminhtml/Faq/Edit/Tab and add following code in your _prepareForm() […]