This is a migrated thread and some comments may be shown as answers.
RAD Editor for SharePoint 2010 Custom CSS
1 Answer 7 Views
This is a migrated thread and some comments may be shown as answers.
Platinum
Top achievements
Rank 1
Platinum asked on 29 Jul 2014, 10:26 AM
Hi,

As per the RADEditor configuration listed in the website.

I have removed the following below from the toolsfile.xml

<classes>
        <class name="Clear Class" value="" />
        <class name="Normal" value=".ms-rteStyle-Normal" />
        <class name="Highlight" value=".ms-rteStyle-Highlight" />
        <class name="By Line" value=".ms-rteStyle-Byline" />
        <class name="Tag Line" value=".rteStyle-Tagline" />
        <class name="Comment" value=".ms-rteStyle-Comment" />
        <class name="References" value=".ms-rteStyle-References" />
        <class name="Caption" value=".ms-rteStyle-Caption" /> 
</classes>

 If i add a new class to the   toolsfile.xml as below

<classes>
        <class name="Clear Class" value="" />
        <class name="Table class" value=".tablecustom" />        
</classes>

The new class added .tablecustom is not shown in the editor. Why is it so ?. Is there any other configuration needed to be done ?

















1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 29 Jul 2014, 10:42 AM
Hello,

The CssClasses populated in the Apply Css Class tool are greatly depended on the configuration of the CssFiles collection.

When a class name is set to the CssClasses collection, but does not exist in any of the CSS files set as CssFile item in the CssFiles collection, it will not show.

What you need is to ensure that this class name exists in at least one CSS files intended for the CssFiles collection, so that you can succesfully use it the Apply Css Class tool.

More details about the usage of this functionality can be examined in this help article.

Regards,
Ianko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Asked by
Platinum
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or