I want to use a stylesheet on a page that contains a RAD Editor control. I do *not* want RAD Editor to take that stylesheet link and add it to the content iframe. Seems like it should be simple to do, but nothing seems to work. Here's my code:
Using the CssFiles is the correct way to make this happen, right? Not only are the page styles still being linked in the content iframe, but blank.css is *not* being included. The content area iframe's head element looks like this:
You'll notice that blank.css isn't there and Styles.css (the stylesheet I want on the page but not in the content), is. Any thoughts?
I'm using RAD controls v2010.1.519.35.
<
telerik:RadEditor
ID
=
"edtMe"
runat
=
"server"
Skin
=
"WebBlue"
Height
=
"600px"
Width
=
"100%"
OnClientLoad
=
"OnClientLoad"
ContentFilters
=
"RemoveScripts, FixUlBoldItalic, FixEnclosingP, IECleanAnchors, MozEmStrong, ConvertToXhtml, IndentHTMLContent"
StripFormattingOptions
=
"MSWordRemoveAll"
OnClientPasteHtml
=
"OnClientPasteHtml"
SpellCheckSettings-AllowAddCustom
=
"false"
>
<
CssFiles
>
<
telerik:EditorCssFile
Value
=
"~/CSS/blank.css"
/>
</
CssFiles
>
<
Content
>
</
Content
>
</
telerik:RadEditor
>
Using the CssFiles is the correct way to make this happen, right? Not only are the page styles still being linked in the content iframe, but blank.css is *not* being included. The content area iframe's head element looks like this:
<
head
>
<
style
></
style
>
<
link
href
=
"/MvApp/WebResource.axd?d=ZMA9Nyl6OV-krKpF_AxH2ehr5-QYUrzahQKPDXQJIRbD47XVXXyGnhGGRWxBtFdN4Rbj-vRYXe6815fiQCJqONv8yYpz-mHqbT_xLF5uFGZiBNGg4prjb2HEQSOTlJ3QqpKfVUx83-JpV7QlzOL4nw2&t=634203434222846081"
type
=
"text/css"
id
=
"RADEDITORSTYLESHEET0"
rel
=
"stylesheet"
>
<
link
href
=
"./CSS/Styles.css"
type
=
"text/css"
id
=
"RADEDITORSTYLESHEET1"
rel
=
"stylesheet"
>
<
link
href
=
"App_Themes/Basic/MainMaster.css"
type
=
"text/css"
id
=
"RADEDITORSTYLESHEET2"
rel
=
"stylesheet"
>
<
link
href
=
"App_Themes/Basic/Menu.css"
type
=
"text/css"
id
=
"RADEDITORSTYLESHEET3"
rel
=
"stylesheet"
>
</
head
>
You'll notice that blank.css isn't there and Styles.css (the stylesheet I want on the page but not in the content), is. Any thoughts?
I'm using RAD controls v2010.1.519.35.