though modulecreator guys has added default field of "content" for editor:
$fieldset->addField('contentdesc', 'editor', array(
'name' => 'contentdesc',
'label' => Mage::helper('getthelooks')->__('Description'),
'title' => Mage::helper('getthelooks')->__('Description'),
'style' => 'width:500px; height:300px;',
'config' => Mage::getSingleton('cms/wysiwyg_config')->getConfig(),
'wysiwyg' => true,
'required' => true,
));
but even i change wysiwyg to true it didnt worked. module creator has forgot that to enable wysiwyg we also needed js for that
so here is complete simple layout xml file :
change getthelooks to your custom module name and enjoy!
thanks for sharing.... but for me whole form is coming in the editor instead of the textarea content
ReplyDeletehello
ReplyDeletewe have inlcude these Css but still not view editor can you please help me
Thnaks
whole form is coming in the editor instead of the textarea content..
ReplyDeleteI am using magento 1.6.
Do you have any idea why?