Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Forcing tags in TinyMCE not working
Jr. Member
Total Posts:  7
Joined:  2013-11-11

Hi guys, I am trying to allow certain tags in our wysiwyg editor, namely any div and meta tags.

I have managed to get Magento to accept div tags but I cannot for the life of me get it to accept meta tags, all I get is a 400 bad request when saving the text in the pageblock -> CMS section.

I am editing the js/mage/adminhtml/wysiwyg/tiny_mce/setup.js file and adding this line at line 96.

extended_valid_elements \"div[*],meta[itemprop|rating]\",

Can anyone tell me where I am going wrong please?

We need a meta tag as part of our rich snippets data in our footer, unfortunately without it our rich snippets won\’t work.

Thanks cheese

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top