Magento: Add wysiwyg editor in custom module.

Step-1 Go to following path and open Edit.php app\code\local\Namespace\Modulename\Block\Adminhtml\Modulename\Edit.php and Add this Function: Step-2 Go to following path and open Form.php app\code\local\Namespace\Modulename\Block\Adminhtml\Modulename\Edit\Tab\Form.php Find the function protected function_prepareForm() and add the following after And add this code to display wysiwyg editor: Read more…