Hi,
We are using RadEditor v. 2010.1.519.35. We have changed the background and default font for the Design tab by setting a value for the Editor Css file as follows
and then in the stylesheet (in this case named RadEditorApplyStylesSelector.css), setting the following style for the body:
This works great and the display of the content in the Design tab is modifed to reflect the css style. However, the display of the content in the HTML tab does not change. It is still displayed using the default css styles.
How do we change the display of the RadEditor content that appears in the HTML tab?
Thanks for the help!
We are using RadEditor v. 2010.1.519.35. We have changed the background and default font for the Design tab by setting a value for the Editor Css file as follows
<
telerik:radeditor
runat
=
"server"
SkinId
=
"PerfOptimizedRadEditor"
NewLineBr
=
"false"
ToolsFile
=
"~/XMLConfigFiles/RadEditorToolsFile.xml"
EditModes
=
"Design,Html,Preview"
StripFormattingOnPaste
=
"None"
StripFormattingOptions
=
"None"
ToolbarMode
=
"Default"
Skin
=
"WebBlue"
SpellCheckSettings-SpellCheckProvider
=
"EditDistanceProvider"
SpellCheckSettings-EditDistance
=
"1"
SpellCheckSettings-AllowAddCustom
=
"false"
SpellCheckSettings-DictionaryPath
=
"~/MSFS/Content/RadSpellDictionaries"
ContentFilters
=
"RemoveScripts,FixUlBoldItalic,FixEnclosingP,IECleanAnchors,MozEmStrong,ConvertFontToSpan,ConvertToXhtml,IndentHTMLContent"
>
<
CssFiles
>
<
telerik:EditorCssFile
Value
=
"~/Stylesheets/RadEditorApplyStylesSelector.css"
/>
</
CssFiles
>
</
telerik:radeditor
>
and then in the stylesheet (in this case named RadEditorApplyStylesSelector.css), setting the following style for the body:
body
{
font-size
:
9pt
;
font-family
:
Verdana
,
serif
;
font-weight
:
normal
;
background-color
:
#FFFFE4
;
}
This works great and the display of the content in the Design tab is modifed to reflect the css style. However, the display of the content in the HTML tab does not change. It is still displayed using the default css styles.
How do we change the display of the RadEditor content that appears in the HTML tab?
Thanks for the help!