[rt-users] Cosmetic Issues 3.8 - WYSIWYG, Round corners, FCKeditor not showing

Kevin Falcone falcone at bestpractical.com
Wed Nov 26 08:54:42 EST 2008


On Nov 26, 2008, at 3:04 AM, justin at brighton.ac.uk wrote:

> Kevin Falcone wrote:
>>
>> On Nov 12, 2008, at 4:00 PM, Scott Golby wrote:
>>
>>> 1. Entering text in the WYSIWYG editor looks fine, I make the font
>>> big,
>>> change the color to Red - but when you view the ticket history it  
>>> just
>>> shows as all the same size/font, <h1> is gone, Red color is gone.
>>> (it is
>>> there in the Download (untitled)  / with headers text/html, so RT  
>>> did
>>> save it)
>>>
>> There are fixes for this in 3.8-trunk which will be in 3.8.2
> Hi Kevin,
> I've applied your patch from the 3.8 trunk [http://svn.bestpractical.com/cgi-bin/index.cgi/bps/revision/?rev=16201#diff__rt_3.8_trunk_share_html_Elements_ScrubHTML 
> ]
> , but found it doesn't include H1 -> H6 headings.
>
> I enclose a diff to add H1 -> H6.

Hi Justin

Can you tell me how you were generating the H* from the WYSIWYG so I  
can confirm
before committing?

Thanks

-kevin

> *** ScrubHTML.old       2008-11-26 07:58:58.000000000 +0000
> --- ScrubHTML   2008-11-26 07:41:38.000000000 +0000
> ***************
> *** 64,70 ****
>  );
>  $scrubber->deny(qw[*]);
>  $scrubber->allow(
> !     qw[A B U P BR I HR BR SMALL EM FONT SPAN STRONG SUB SUP STRIKE  
> DIV UL OL LI DL DT DD PRE]
>  );
>  $scrubber->comment(0);
>  </%ONCE>
> --- 64,70 ----
>  );
>  $scrubber->deny(qw[*]);
>  $scrubber->allow(
> !     qw[A B U P BR I HR BR SMALL EM FONT SPAN STRONG SUB SUP STRIKE  
> H1 H2 H3 H4 H5 H6 DIV UL OL LI DL DT DD PRE]
>  );
>  $scrubber->comment(0);
>  </%ONCE>




More information about the rt-users mailing list