I know FF and IE internally convert color to RGB, which causes problem, because the color values don't match what is on the server.
Proof:
Chrome 18:
CKEDITOR.instances.selected_text_actual.getData()
>> "s <span style="color: #ff0000">text</span>"
FireFox 11:
CKEDITOR.instances.selected_text_actual.getData()
>> "s <span style="color: rgb(255, 0, 0);">text</span>"
So, the way I want to solve the problem is to make CKEditor's data processor always use the rgb values. Is there a way to do that?
Proof:
Chrome 18:
CKEDITOR.instances.selected_text_actual.getData()
>> "s <span style="color: #ff0000">text</span>"
FireFox 11:
CKEDITOR.instances.selected_text_actual.getData()
>> "s <span style="color: rgb(255, 0, 0);">text</span>"
So, the way I want to solve the problem is to make CKEditor's data processor always use the rgb values. Is there a way to do that?

Re: FireFox and IE convert original color values to RGB
CKEDITOR.on( 'instanceReady', function( ev ){ var editor = ev.editor, dataProcessor = editor.dataProcessor, htmlFilter = dataProcessor && dataProcessor.htmlFilter; // HTML 4 way to end tags dataProcessor.writer.selfClosingEnd = '>'; htmlFilter.addRules({ elements:{ $:function(element){ var e = jQuery(element); e.css("color", e.css("color")); // jquery auto converts to rgb } } }); });http://sebduggan.com/blog/customising-c ... s-in-mura/
a.attr("style", "color: #444") [ <div style="color: #444"></div> ] a.css("color", a.css("color")); [ <div style="color: rgb(68, 68, 68); "></div> ]Re: FireFox and IE convert original color values to RGB
If you look at it you'll find that there's something more, including a color processor.
Re: FireFox and IE convert original color values to RGB
What do you mean? I don't see any color processor.
Re: FireFox and IE convert original color values to RGB