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

[Solved] Import external CSS file to Apply CSS

1 Answer 144 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jeroen Van den Berghe
Top achievements
Rank 1
Jeroen Van den Berghe asked on 29 Oct 2009, 11:53 AM
Hello,

I am trying to import my own CSS file into RedEditor so the classes appear in the dropdown list of 'Apply CSS Class', I would like to do it by putting the refference in the ToolsFile.xml. I tryed (I think) everything and it won't work! Can't someone tell me what I'm doing wrong? I Have read all the help topics...

This is my code:

ToolsFile.xml
<root>
other things
<cssFiles>
    <item name="~/css/test.css" />
</cssFiles>
</root>

CSS file (placed in wwwroot\css\):
.title {color:red}


Can someone help me?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 30 Oct 2009, 10:55 AM
Hi Jeroen,

Your code is fine and you should not experience this problem. For your convenience I have attached my test project and video demonstrating that the same configuration works on my side. Are you able to reproduce the problem with the attached project?

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Jeroen Van den Berghe
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or