This is a migrated thread and some comments may be shown as answers.

RadEditor for MOSS paragraphs with external CSS file

1 Answer 60 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Henrik
Top achievements
Rank 1
Henrik asked on 20 Jan 2011, 12:42 PM
Hi Community!

I have got the following problem and I wanted to know whether there is a nice solution :)
I want to set my own paragraph styles in my RadEditor so I added the following XML the ToolsFile.xml:

<paragraphs>
    <paragraph name="<p class='custom-ueberschrift'>Überschrift</p>" value="p class='custom-ueberschrift'" />
    <paragraph name="<p class='custom-teilueberschrift'>Teilüberschrift</p>" value="p class='custom-teilueberschrift'" />
    <paragraph name="<p class='custom-text'>Text</p>" value="p class='custom-text'" />
  </paragraphs>

Unfortunately the classes are defined in a css file outside the iframe where the paragraphs should be shown. So the effect is: I select the text and set the paragraph style and nothing is show in the edit mode, of course... When I save the site the style is there. Can somebody tell me an elegant solution?

1 Answer, 1 is accepted

Sort by
0
Accepted
Stanimir
Telerik team
answered on 21 Jan 2011, 09:11 AM
Hello Henrik,

Review the following online help article: Defining custom CSS styles. There you can find information on how to load custom css in the content area of RadEditor for MOSS.


Regards,
Stanimir
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Editor
Asked by
Henrik
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Share this question
or