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
I found that something like this should work:
Source: http://sebduggan.com/blog/customising-c ... s-in-mura/
but, there is no change.
The conversion to RGB is pretty straight forward:
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