I'm using both the Wygwam and Editor plugins however on saving an entry any inline styles (such as image width and height) appear as Does anyone have any ideas?

  • I have the same issue. If any other solution is there please provide me. I also not able to find the option "restrict allowed HTML". Thanks Aug 4, 2016 at 13:17

1 Answer 1


Do you have the “Restrict allowed HTML?” option turned on in your settings? That can sometimes remove inline styles you apply.

  • I have tried this, unfortunately there is no difference, it is causing issues with the following <img alt="" src="/images/main/TLT_Booklet_cover_for_website.JPG" left;="" margin-left:="" 10px;="" margin-right:="" 10px;"=""> Jul 21, 2014 at 14:21
  • Wow, never seen any install of Wygwam cause that kind of style craziness. Have you tried either reinstalling or using an alternate WYSIWYG? Like Expresso? Jul 22, 2014 at 15:15
  • I've isolated the issue. I added items to my config file such as http cookies, setting CSRF to true etc. I reverted back to a previous version of the config file and that fixed the issue. Now it's a case of adding each item and see if it breaks again. Jul 22, 2014 at 16:04

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.