The colour style settings are removed from Simplenews header after saving.

Before saving:
<span style="color: rgb(51, 153, 102);"><i><b><font size="48">Green </font></b></i></span>

After saving
<span><i><b><font size="48">Green </font></b></i></span>

Using the FCKEditor, Full HTML input format, Simplenews 6.x-1.3, Simplenews Template 6.x-1.x-dev.

The following scenario occurs:
1) I type a header, paint the characters green, and gets the source code as above before saving the header.
2) Saving the hader closes the input form. The header shows up as expected in the newsletters, the text is green.
3) When I re-open the template form, the wysiwg text is black, and the colour style code is removed, see above.
4) Saving the hader closes the input form. The header shows up as black text in the newsletters.

This behaviour is only present in the simplenews_template header/footer. Any colour style codes in the body remains.

Is this a bug, or do I do anything wrong?

Comments

Leiph’s picture

Title: Font colour HTML tags is stripped » Font colour HTML tags are stripped
Status: Active » Closed (works as designed)

This was actually connected to the FCKEditor security settings. Odd - colours are not allowed.