Opened 8 years ago

Closed 8 years ago

#6651 closed Bug (duplicate)

Bug when click on Source

Reported by: sarvesh Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: sarvesh

Description

when binding to the source area i am binding the element as <span style=' background:#ffff00;'>%customername%</span>

but when i click on Source in CK Editor i am getting or rendered as <span style="background: none repeat scroll 0% 0% rgb(255, 255, 0);">%customername%</span>

Change History (4)

comment:1 Changed 8 years ago by sarvesh

Cc: sarvesh added

comment:2 Changed 8 years ago by Garry Yao

Resolution: invalid
Status: newclosed

CKEditor relies on browser's style interpretation result thus cannot guarantee the output style values are in shortest form, we recommend you to use in this case:

<span style='background-color:#ffff00;'>%customername%</span>

comment:3 Changed 8 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: closedreopened

comment:4 Changed 8 years ago by Alfonso Martínez de Lizarrondo

Resolution: duplicate
Status: reopenedclosed

In fact, this is the kind of problem that #5528 tries to fix.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy