I have a wygwam rich text area field, and when I switch to the "Source" view, paste in a standard embed snippet from Vimeo, then switch back to the HTML view, the snippet is immediately deleted. Before I save the page or do anything else, simply by changing views. If I try saving before switching back to HTML view, the is also deleted.

How do I prevent wygwam from deleting my vimeo code?


This is because the you have "Restrict allowed HTML" set to YES for your field's WYGWAM configuration. Change Restrict allowed HTML to "NO" and it should work how you want.

enter image description here

  • Thanks Jules, this solved the problem perfectly! It didn't occur to me this could be a feature, so I was off on the wrong track. – Ross B Nov 12 '14 at 17:07

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.