Magento is a very flexible eCommerce CMS. You can play with its features with slight modifications. This article highlights a rare limitations in its functionality and steps to overcome it. Magento by default doesn’t allow HTML and embedded tags in its editor. But what if a user wants to use those? How can you allow tags in Magento editor? This blog post covers steps to allow tags in Magento editor easily.
There are more than one ways to allow tags in Magento editor. But here we present the most recommended method to allow tags. Follow the steps to add tags easily in your Magento editor:
var settings = { mode : (mode != undefined ? mode : 'none'), elements : this.id, theme : 'advanced', plugins : plugins, theme_advanced_buttons1 : magentoPlugins + 'magentowidget,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect', theme_advanced_buttons2 : 'cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,forecolor,backcolor', theme_advanced_buttons3 : 'tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,iespell,media,advhr,|,ltr,rtl,|,fullscreen', theme_advanced_buttons4 : 'insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,pagebreak', theme_advanced_toolbar_location : 'top', theme_advanced_toolbar_align : 'left', theme_advanced_statusbar_location : 'bottom', theme_advanced_resizing : true,
Add this line of code to allow tags in Magento Editor
extended_valid_elements : ‘iframe[src|style|width|height|scrolling|marginwidth|marginheight|frameborder],style,script’,
If you face any difficulty in following the above steps, then request a quote today. Our Magento developers team will assist you to allow tags in Magento editor.