[kupu-dev] Re: Text aligning
Duncan Booth
duncan.booth at suttoncourtenay.org.uk
Fri Jan 14 10:06:16 MET 2005
Donovan Baarda wrote:
> On Wed, 2005-01-12 at 17:18 +0000, Lee Matt wrote:
>> I'm using kupu 1.2b1, checked out from CVS.
>>
>> The left, center and right align buttons appear to work in the edit
>> view, but when the page is saved they revert to <p>Text</p> with no
>> aligning whatsoever.
>>
>> Any ideas?
>
> sounds like the content filters are filtering out the style attribute...
> I believe there is a styles white-list that needs to include the
> required styles. Also, the style attribute needs to be "allowed" for the
> p tag.
>
> These should be allowed by default. It is possible the defaults need to
> be fixed, or perhaps you have inadvertently turned them off?
The style attribute should be 'allowed' for everything, it was in the
blacklist at one point by mistake but it shouldn't be there now.
The problem here is actually the align attribute. I'm not entirely sure
what I had against that one, but I'll take it out of the default settings.
For now, if you go to the kupu control panel and remove the blacklisting on
align it should fix the problem.
More information about the kupu-dev
mailing list