I've been building a form lately, on a CMS Page. But something strange happens, when I add the following HTLM :

<input class="input-text" type="text" name="code" placeholder="My text here"/>

and hit "Save" then the page is displayed correctly. However, if I want to add in another edit for that CMS Page, then when showing the code (via the "Show/Hide Editor" button), then my placeholder is gone.

Does anyone know what's going on here?

1 Answer 1


I can only assume that the TinyMCE editor is stripping out your attribute since it thinks it is not valid HTML.

Have a look at Alan Storm's article on the topic: http://alanstorm.com/magento_html5_tinymce

Personally, I prefer to just disable TinyMCE completely as it generally causes more problems than it solves.

  • Well, that seems really accurate. Thank you. Commented Aug 12, 2014 at 15:20

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.