#6638 closed New Feature (duplicate)
Unify the way of setting color in CSS styles
Reported by: | Wiktor Walc | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Output Data | Version: | |
Keywords: | Cc: | Alfonso Martínez de Lizarrondo |
Description
Right now the result of applying a color to selected text is different.
- IE:
<span style="color: #ff0000">
- Firefox:
<span style="color: rgb(255, 0, 0);">
If we edit in Firefox an article created in IE we are causing lots of changes in the source, which is a problem in environments that support versioning. Checking changes between various revisions is much harder in such situation.
Another problem is that there are systems that do some security checks on inline styles and they do not always respect rgb() notation, so the color is lost there.
Change History (5)
comment:1 Changed 14 years ago by
Component: | General → Core : Output Data |
---|---|
Milestone: | → CKEditor 3.5.1 |
Status: | new → confirmed |
comment:2 Changed 14 years ago by
Cc: | Alfonso Martínez de Lizarrondo added |
---|
comment:3 Changed 14 years ago by
I proposed a patch that handles these problems in #1653. Then problem isn't only the color, all the style css can be modified by each browser and currently there's no protection as the css unification is done only while adding, not when the data is get back.
comment:4 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | confirmed → closed |
This is actually covered by #1653 as Alfonso wrote, so marking as a duplicate.
comment:5 Changed 14 years ago by
Milestone: | CKEditor 3.5.1 |
---|
I think we already have a ticket for it, but I'm not totally sure.