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. – David Manners Oct 4 '13 at 14:11
  • Hey Ranjit, did you have any progress on this issue? – Sander Mangel Oct 7 '13 at 8:33

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,
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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