I have added a WYSIWYG editor in extension so that one can add a WYSIWYG editor in the attribute. So i added these think in the main.php

        'value' => 'wysiwyg',
        'label' => Mage::helper('catalog')->__('WYSIWYG Editor')

Now what i do for get the WYSIWYG editor in the category.

  • I am not sure what you are asking. Are you wanting to add a wysiwyg editor to one/all category attributes? Maybe if you include the code that you already have this would help us to understand. Oct 4, 2013 at 14:11
  • Hey Ranjit, did you have any progress on this issue? Oct 7, 2013 at 8:33

1 Answer 1


The wysiwyg editor is available on the textarea type input. So if you are using the installer script to add your attribute for example use these options. Don't forget to append the other options you might need there like label.

$installer->addAttribute(Mage_Catalog_Model_Category::ENTITY, 'your_attribute', array(
   'type' => 'text',
   'input' => 'textarea',
   'wysiwyg_enabled'   => true,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.