Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
markus_petrux CreditAttribution: markus_petrux commentedGood catch, thank you! :)
Fixed in CVS. Release 6.x-1.1 is on the go...
Comment #2
markus_petrux CreditAttribution: markus_petrux commented