Hi,

When set the font color, the change can be observed in the editor. However, after saving, the font color will be lost in the post. (I use drupalfull as toolbar type)

Any ideas?

Thanks.

Comments

mkesicki’s picture

What options have you choose in "Editor CSS: " in "CSS" tab in CKEditor's profile configuration ?
Can you check latest DEV version ?
What theme do you use ?
I checked it with "Use theme css" selected in mentioned option with Garland theme end it works for me (of course with full html input format).

mkesicki’s picture

Status: Active » Postponed (maintainer needs more info)
foredoc’s picture

Hi,

I am using acquia marina, and use theme css for ckeditor. However, I use filtered html instead of full html.

The allowed tags are: ( using {} instead of <> for display purpose )

{a} {p} {span} {div} {h1} {h2} {h3} {h4} {h5} {h6} {img} {map} {area} {hr}{br} {br /} {ul} {ol} {li} {dl} {dt} {dd} {table} {tr} {td}{thead}{tbody} {th}{em} {b} {u}

{i} {strong}{font} {del} {ins} {sub} {sup} {quote} {blockquote} {pre} {address} {code}{cite}
{embed} {object} {param} {strike} {caption}

And I also notice that, the content of my node looks like following:

"{span style="color: rgb(255, 0, 0);"}test font color{/span}"
"{span style="background-color: rgb(255, 0, 0);"}test font background color{/span?}"

Since {span} is allowed, I do not know why the styles are not applied.

Thanks.

mkesicki’s picture

Try use full html , because filtered html strip many things.

AlexisWilke’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

You need to use Full HTML in Drupal 6.x because the colors make use of the style parameter which is removed in Filtered HTML.

Thank you.
Alexis Wilke

Jasonc’s picture

Thanks Alexis, i had the similar issue, however using Full HTML instead of Filtered HTML works very well.

Jason
TutorDynamic