Hi!
Found a bug in your color-regex code.
wysiwyg_filter.module line 246 has to be changed from

  $regexp_color = '#[a-fA-F0-9]{3}|#[a-fA-F0-9]{6}|rgb\(?:\s*[0-9]{0,3}%?(?:\s*,\s*[0-9]{0,3}%?){2}\s*\)|[a-zA-Z]+';

to

  $regexp_color = '#[a-fA-F0-9]{3}|#[a-fA-F0-9]{6}|rgb\(\s*[0-9]{0,3}%?(?:\s*,\s*[0-9]{0,3}%?){2}\s*\)|[a-zA-Z]+';

There simply is a "?:" too much.

Without this fix, the color selector of FCKeditor won't work as it uses the rgb(rrr,ggg,bbb) syntax.

BTW: great plugin! thank you!

Comments

markus_petrux’s picture

Status: Needs review » Fixed

Good catch, thank you! :)

Fixed in CVS. Release 6.x-1.1 is on the go...

markus_petrux’s picture

Status: Fixed » Closed (fixed)