Hi there,
We have run into a problem with the FCKEditor 2.5.1. Styles specified in a css class of a SPAN are not being overridden by changes in the FCKEditor. For example if my css class has font-size 20px and I try to change it in the FCK editor to 10px; I won't be able to do it.
The reason for this is the new font-size SPAN will enclose the existing one. Thus the font-size styles specified in the class will have the final say, as it will override all other font-size styles.
Example below further illustrates the issue:
Class
Original HTML
HTML after changing the font size to 10 in FCK Editor
This issue can be fixed by making the new span appear inside the existing span. The code will have the desired effect.
This is an issue with 2.6 Beta as well. Could someone please look into fixing this. Thanks.
Kind Regards,
Zalle
We have run into a problem with the FCKEditor 2.5.1. Styles specified in a css class of a SPAN are not being overridden by changes in the FCKEditor. For example if my css class has font-size 20px and I try to change it in the FCK editor to 10px; I won't be able to do it.
The reason for this is the new font-size SPAN will enclose the existing one. Thus the font-size styles specified in the class will have the final say, as it will override all other font-size styles.
Example below further illustrates the issue:
Class
.code { font-size: 20px; }
Original HTML
<span class="code "> What is your gender? </span>
HTML after changing the font size to 10 in FCK Editor
<span style="font-style: 10px;"> <span class="code "> What is your gender? </span></span>
This issue can be fixed by making the new span appear inside the existing span. The code will have the desired effect.
<span class="code "> <span style="font-style: 10px;">What is your gender? </span></span>
This is an issue with 2.6 Beta as well. Could someone please look into fixing this. Thanks.
Kind Regards,
Zalle