Hi all,
I did a search but I didn't find anything related, so I'll open a new bug report.

A user, who apparently forgot to use the "paste as plain text" button, inserted a colored bold text using a
<strong style="color: rgb(96, 191, 0);"> tag.

CKEditor recognizes it as "bold" text and the relative button is highlighted when the text is selected, but clicking on the button again does not remove the formatting, but adds a couple of tags: </strong><strong style="color: rgb(96, 191, 0);">. I did some experimenting and found that the same applies to <em> tags, and other styles such as "font-style: italic".
Interestingly enough, the "Remove format" button does what it's supposed to do. Of course I'll warn my users to use it in case of troubles, but maybe this issue can be avoided just by adding a line or two of code.

Using: CKEditor module 6.x-1.2 with CKEditor 3.4.1 (but problem showed up before I upgraded).

By the way, CKEditor is by far the best editor I've used on a Drupal site, and I tried 'em all (I guess).

Regards

L.F.

Comments

dczepierga’s picture

Status: Active » Needs work

It's problem with CKEditor plugin so I reported it on TRAC:
http://dev.ckeditor.com/ticket/6400

There u could see what happend with it.

lucio.ferrari’s picture

Thanks.

dczepierga’s picture

Status: Needs work » Closed (fixed)

I closed this issue, because it's inactive over 3 months.

brulain’s picture

Status: Closed (fixed) » Active

Subscribing with CKE plugin 3.5

jcisio’s picture

Status: Active » Closed (works as designed)

You should subscribe at dev.ckeditor.com, not here!

brulain’s picture

In my case, this issue appears with Wysiwyg module.
To solve it, I have checked 'Teaser' in 'Plugin' fieldset.