Ive added an image to a blog post content, and set it to center, but when I 
save, the stye is stripped out.

The style being applied to the image is "margin-left: auto; margin-right: 
auto; display: block;"

I found a reference to a setting 'RICHTEXT_ALLOWED_STYLES' 
which allows the following styles to be used "margin-top", "margin-bottom", 
"margin-left", "margin-right", "float", "vertical-align", "border", "margin"

So if "margin-left", "margin-right" are allowed why are they being stripped 
out?


-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to