Magento static blocks. Remove wrapping <p>
问题 When i create static block magento wraps content with <p> tags. Which is very bad for DOM. Is is possible to remove it somehow. I suppose it is some javascript but i don't know which one. 回答1: Actually wrong on my earlier answer. You need to turn the static block WYSIWYG editor off-by-default. Go to System -> Configuration , find General section on left hand side, click on Content Management and set 'Enable WYSIWYG Editor' to 'Disable by default' from list. Then edit your static blocks