Our implementation of the RichTextEditor is intended to allow the user to share the same HTML between the RadEditor in ASP.NET and the RadRichTextBox.
The first issue we have come across is that the ASP.NET RadEditor generates <em> tags to designate italics and the RadRichTextBox does not handle these correctly; it does not display the text within these tags. Replacing the <em> with an <i> works as expected but since we want to share HTML between ASP.NET and Silverlight, manually changing this on each ASP.NET save would not be optimal.
The HTML that we are using is:
Thank you,
Kevin
The first issue we have come across is that the ASP.NET RadEditor generates <em> tags to designate italics and the RadRichTextBox does not handle these correctly; it does not display the text within these tags. Replacing the <em> with an <i> works as expected but since we want to share HTML between ASP.NET and Silverlight, manually changing this on each ASP.NET save would not be optimal.
The HTML that we are using is:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
>
<
title
>Untitled</
title
>
<
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=utf-8"
/>
<
style
type
=
"text/css"
>
.p_CC664AAA { margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px; }
.s_1681A555 { font-family: 'Times New Roman';font-style: Normal;font-weight: normal;font-size: 16px;color: #000000; }
</
style
>
</
head
>
<
body
>
<
p
class
=
"p_CC664AAA"
>
<
span
class
=
"s_1681A555"
>This is <
strong
>bold</
strong
> text, this is <
em
>italic</
em
> text, and this is <
span
style
=
"text-decoration: underline;"
>underlined</
span
> text.</
span
>
</
p
>
</
body
>
</
html
>
Thank you,
Kevin