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?
1 Answer
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