Hi

I'm having a problem with setting up text align for my paragraph tags (my set-up is based on Jen Lampton's tutorial for WYSIWYG editors).

In the WYSIWYG filter, I have the following setting;

a[!href|target<_blank|class|style|title],
div[align<center?left?right],
p[align<center?left?right|style],
br,span,em,strong,ul,ol,li,p,h2,h3,h4,h5,h6,table,tbody,th,tr,td,
img[!src|alt|title|class|style|width|height]

and I have 'text-align' allowed in the Style Properties.

If I align a paragraph of text right, it adds style="text-align:right" to the <p> tag but when I save changes, the style attribute is stripped out. Same for left or center.

If I add @[style] to my settings above - the style attribute is not stripped out and it works.

Has anyone got an idea why the |style part on my <p> tag setting above is being ignored?

Thanks

Frank