Hello guys,I have a problem with a text color in radEditor. Setting an html to radEditor content on code behind, on UI a part of the text appears in color green despite the fact that no green color is reffered in style, there is only "color:inherit" for a span.
It is easy to reproduce. Here is the test case for you :
<telerik:RadEditor ID="txtNotes" runat="server" EditModes="Design" Width="900px" BorderWidth="1"
Height="420px" ContentAreaMode="Div"
NewLineMode="Br" EnableTrackChanges="false" StripFormattingOnPaste="NoneSupressCleanMessage">
<ExportSettings OpenInNewWindow="true">
</ExportSettings>
</telerik:RadEditor>
I attached a pict with the resulting UI . Bellow you have the html code. The only modification we are doing is that we are extracting the body content from html and set it to radEditor like this :txtNotes.Content = bodyText from file ;
HTML CODE FOR RADEDITOR:
?<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <STYLE type=text/css> P, UL, OL, DL, DIR, MENU, PRE { margin: 0 auto;}</STYLE> <META name=GENERATOR content="MSHTML 8.00.6001.19298"></HEAD> <BODY leftMargin=1 rightMargin=1 topMargin=1><strong><em>02/25-<span style="color: inherit; line-height: 1;">Any new developments on this I-Lead? There has got to be a
way we can secure this business with all that activity in Sunnyvale and the
relationships we have.</span></em></strong>
<p class="MsoNormal"><strong><em></em></strong></p>
<p class="MsoNormal"><strong><em>Let’s work together to make this happen at the right rate
and stay pattern!!!</em></strong></p></BODY></HTML>