The RadEditor doesn't seem to pick up the styles from the content style sheet. In particular, when a table is created in the RadEditor, the expected behavior is the default table style (see style sheet definition below) should be applied. This is the saved content table tag:
<P> <TABLE> <TBODY> <TR> <TD>one </TD> <TD> two</TD> <TD> three</TD></TR> <TR> <TD> </TD> <TD> </TD> <TD> </TD></TR> <TR> <TD> </TD> <TD> </TD> <TD> </TD></TR></TBODY></TABLE></P>
Note there is no black solid border applied as defined in the style sheet. This causes the saved data to display with no table border in a report created from this saved data.
How can I correct this?
Thanks!
Michelle
Here is the Control declaration in the .aspx page:<
<telerik:RadEditor ID="RadEditor1" runat="server" Skin="Web20" Height="800px" Width="975px" NewLineBr=false Style="overflow: scroll"
EnableEmbeddedScripts="False" EditModes="Design" OnClientLoad="OnClientLoad" >
<CssFiles>
<telerik:EditorCssFile Value="~/css/EditorContentArea.css" />
</CssFiles>
</telerik:RadEditor>
EditorContentArea.css:
body
{
font-family
: Arial;
font-size
: 10pt;
}
table
{
border-color:Black;
border-width:1pt;
padding :2pt 2pt;
border-style:solid;
}
table
td
{
border-color:Black;
border-width:1pt;
padding :2pt 2pt;
border-style:solid;
font-family: Arial;
font-size: 10pt;
}
table
th
{
border-color:Black;
border-width:1pt;
padding :2pt 2pt;
border-style:solid;
}
.RadEWrongWord
{
background-color: yellow;
}