I am trying to paste some code into a RadEditor control from Word.
If I paste it into another application like Dreamweaver, it includes a <style> section when I view the HTML, like this:
If I paste it into the RadEditor control and look at the HTML, it includes everything apart from the <style> section. This means that some of the formatting defined in the <style> is not shown.
If I manually paste this section using the HTML editor in the RadEditor control it looks fine. However, the people who will be using the system are not technical enough to do this.
Is it possible to configure an option to include this when it is pasted (or if not, configure Word so that it applies they styling to the text elements itself rather than using inline CSS when you copy from it)?
Thanks, Richard
If I paste it into another application like Dreamweaver, it includes a <style> section when I view the HTML, like this:
<
style
type
=
"text/css"
>
<!--
p.MsoNormal {
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Cambria","serif";
}
p.MsoListParagraphCxSpLast {
margin-top:0cm;
margin-right:0cm;
margin-bottom:.0001pt;
margin-left:36.0pt;
font-size:12.0pt;
font-family:"Cambria","serif";
}
span.MsoHyperlink {
color:blue;
text-decoration:underline;
text-underline:single;
}
-->
</
style
>
If I paste it into the RadEditor control and look at the HTML, it includes everything apart from the <style> section. This means that some of the formatting defined in the <style> is not shown.
If I manually paste this section using the HTML editor in the RadEditor control it looks fine. However, the people who will be using the system are not technical enough to do this.
Is it possible to configure an option to include this when it is pasted (or if not, configure Word so that it applies they styling to the text elements itself rather than using inline CSS when you copy from it)?
Thanks, Richard