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

RAD Editor - CSS class name is shown instead of user-friendly name in the dropdown

2 Answers 69 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Brijesh
Top achievements
Rank 1
Brijesh asked on 05 Mar 2015, 06:07 PM
Hi Team,

I am using custom css file and showing few css classes with user friendly names in "Apply CSS Class" drop down box of RAD Editor Tool bar.
I used following code in ToolsFile.xml to show user-friendly names corresponding to custom css classes:

<classes>
    <class name="Clear Class" value="" />
    <class name="ContentLink" value="a.oc-rteElement-ContentLink" />
    <class name="ContentBody" value=".oc-rteStyle-ContentBody" />
    <class name="Arrow/Separator" value=".oc-rteStyle-ContentArrowSeparator" />
    <class name="ContentHeading" value=".oc-rteStyle-ContentHeading" />
    <class name="CorporateHeading" value=".oc-rteStyle-ContentHeadingCorporate" />
    <class name="PrivateEquityHeading" value=".oc-rteStyle-ContentHeadingPrivateEquity" />
    <class name="CovertiblesHeading" value=".oc-rteStyle-ContentHeadingCovertibles" />
    <class name="ListedEquityHeading" value=".oc-rteStyle-ContentHeadingListedEquity" />
....
....
</classes>

Initially in the RAD Editor Toolbar, user-friendly names are shown in “Apply CSS Class” drop down box as shown in below figure:



After we select a style and apply it to some content, then the internal css class name of the style gets displayed on the drop down as shown below:



Kindly suggest how can I resolve this issue that internal css class name not shown to user.

Thanks & Regards,
Lipi 

2 Answers, 1 is accepted

Sort by
0
Brijesh
Top achievements
Rank 1
answered on 06 Mar 2015, 10:26 AM
In above mentioned post, screenshots couldn't be attached.
Kindly help.
0
Ianko
Telerik team
answered on 10 Mar 2015, 01:33 PM
Hello Brijesh,

Try to archive the images into a zip file and try to attach them. Note that the file attachment should be no more 20mb.

Currently, without the snapshots I can only make guesses what has went wrong on your end and what exactly is the issue.

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.

 
Tags
Editor
Asked by
Brijesh
Top achievements
Rank 1
Answers by
Brijesh
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or